Skip to content

Commit

Permalink
fix(ktable): bulk actions checkboxes should be valign center (#2446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo authored Oct 12, 2024
1 parent 2d369d5 commit cfca76a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/KCheckbox/KCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default {
position: relative;
&.has-label {
margin-top: 3px; // align with label
margin-top: 2px; // align with label
}
}
Expand Down Expand Up @@ -280,6 +280,7 @@ export default {
.checkbox-label {
cursor: pointer;
display: flex;
margin: 0;
&.required {
Expand Down
6 changes: 5 additions & 1 deletion src/styles/mixins/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
line-height: var(--kui-line-height-30, $kui-line-height-30);
padding: $tableThPaddingY var(--kui-space-60, $kui-space-60);
text-align: left;
vertical-align: bottom;

&.resizable {
// set min width so the column can't be collapsed to nothing - avoiding bad UX
Expand Down Expand Up @@ -377,6 +376,11 @@
}
}
}

.bulk-actions-checkbox,
.table-header-bulk-actions-checkbox {
display: flex;
}
}

.table-pagination {
Expand Down

0 comments on commit cfca76a

Please sign in to comment.