Skip to content

Commit

Permalink
fix(pageHeader): menu button overflow issue on small screens (carbon-…
Browse files Browse the repository at this point in the history
  • Loading branch information
devadula-nandan authored Nov 27, 2024
1 parent 1e8818f commit 0072e42
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ p.c4p--about-modal__copyright-text:first-child {
--cds-grid-column-hang: 0.96875rem;
}
.cds--css-grid--start {
margin-inline-start: 0;
}
.cds--css-grid--end {
margin-inline-end: 0;
}
.cds--subgrid {
display: grid;
grid-template-columns: repeat(var(--cds-grid-columns), minmax(0, 1fr));
Expand Down Expand Up @@ -3402,7 +3410,7 @@ p.c4p--about-modal__copyright-text:first-child {
}
.c4p--datagrid__grid-container table.c4p--datagrid__vertical-align-center .c4p--datagrid__head .c4p--datagrid__head-select-all.c4p--datagrid__checkbox-cell.c4p--datagrid__checkbox-cell-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
}
.c4p--datagrid__grid-container table.c4p--datagrid__vertical-align-center .c4p--datagrid__cell {
Expand Down Expand Up @@ -3773,7 +3781,7 @@ p.c4p--about-modal__copyright-text:first-child {
}
.c4p--datagrid__head-hidden-select-all.c4p--datagrid__select-all-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
background-color: var(--cds-layer-accent-01, #e0e0e0);
}
Expand Down Expand Up @@ -4370,7 +4378,7 @@ p.c4p--about-modal__copyright-text:first-child {
.c4p--datagrid__left-sticky-column-header {
/* stylelint-disable-next-line declaration-no-important */
position: sticky !important;
z-index: 1;
z-index: 10;
left: 0;
border-right: 1px solid var(--cds-border-subtle);
}
Expand Down Expand Up @@ -4399,7 +4407,7 @@ p.c4p--about-modal__copyright-text:first-child {
.c4p--datagrid__select-all-toggle-on.c4p--datagrid__select-all-sticky-left {
position: sticky;
z-index: 1;
z-index: 10;
left: 0;
}
Expand Down Expand Up @@ -9530,6 +9538,10 @@ button.c4p--add-select__global-filter-toggle--open {
z-index: 7999;
}
.c4p--page-header__button-set-menu-options > button.cds--menu-button__trigger {
min-inline-size: 0;
}
.c4p--card__productive {
display: flex;
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,3 +667,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
.#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
z-index: $z-index-header-minus;
}

.#{$block-class}__button-set-menu-options
> button.#{$carbon-prefix}--menu-button__trigger {
min-inline-size: 0;
}

0 comments on commit 0072e42

Please sign in to comment.