Skip to content

Commit

Permalink
fix(styling): Grid Menu, Col Picker labels should take full width (#1564
Browse files Browse the repository at this point in the history
)

* fix(styling): Grid Menu, Col Picker labels should take full width
- the Column Picker & Grid Menu, cols picker list labels were not center aligned and were also not taking full width

* chore: fix hidden class should always be set to display none
  • Loading branch information
ghiscoding committed Jun 10, 2024
1 parent bfdec1e commit e942539
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/common/src/styles/slick-plugins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/** make sure the hidden class exist, it was removed in BS4 */
li.hidden {
display: none;
display: none !important;
}

.slick-column-picker {
Expand Down Expand Up @@ -100,6 +100,9 @@ li.hidden {
}

li {
display: flex;
align-items: center;
width: 100%;
color: var(--slick-menu-color, $slick-menu-color);
border: var(--slick-column-picker-item-border, $slick-column-picker-item-border);
border-radius: var(--slick-column-picker-item-border-radius, $slick-column-picker-item-border-radius);
Expand All @@ -115,6 +118,8 @@ li.hidden {
}
label {
cursor: pointer;
height: 100%;
width: 100%;
margin-bottom: 0px;
}
}
Expand Down Expand Up @@ -181,7 +186,7 @@ li.hidden {
& + span.checkbox-label {
display: inline-flex;
align-items: center;
gap: 3px;
flex-grow: 1;
padding-left: var(--slick-column-picker-label-text-padding-left, $slick-column-picker-label-text-padding-left);
}
}
Expand Down

0 comments on commit e942539

Please sign in to comment.