-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: Improve styles for bulk annotation bar and spaces #2356
style: Improve styles for bulk annotation bar and spaces #2356
Conversation
@@ -18,14 +18,18 @@ | |||
<template> | |||
<div v-if="dataset && viewSettings"> | |||
<div | |||
:class="annotationEnabled ? 'list__item--annotation-mode' : 'list__item'" | |||
:class=" | |||
annotationEnabled && !pageSizeisOne |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1/ add a computed for annotationEnabled && !pageSizeisOne
2/ suggestion because it's a boolean : pageSizeisOne => isPageSizeEqualOne (camel case syntax means all the words start with uppercase)
> | ||
<div class="record__header"> | ||
<template v-if="!weakLabelingEnabled"> | ||
<template v-if="annotationEnabled"> | ||
<div class="record__header--left" v-if="!isReferenceRecord"> | ||
<base-checkbox | ||
:class="pageSizeisOne && '--hidden'" | ||
v-if="!pageSizeisOne" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update pageSizeisOne here too
Description
Improve styles for bulk annotation bar and spaces
Closes #2354
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
Checklist