Skip to content

Commit

Permalink
fix: Set width for checkbox type in data-table styles
Browse files Browse the repository at this point in the history
This patch sets the width of the checkbox type in the data-table components, both in the header cell and data cell. This ensures uniformity in the checkbox dimension across the data table.

Fixes #12
  • Loading branch information
maicol07 committed Nov 28, 2023
1 parent 26dcd60 commit 5169aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data-table/internal/_data-table-cell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
:host([type="checkbox"]) {
@extend .mdc-data-table__cell--checkbox;
padding: 0 6px;
width: 50px;
}
}
1 change: 1 addition & 0 deletions data-table/internal/_data-table-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
:host([type="checkbox"]) {
@extend .mdc-data-table__header-cell--checkbox;
padding: 0 6px;
width: 50px;
}

:host([sortable]) {
Expand Down

0 comments on commit 5169aed

Please sign in to comment.