Skip to content

Commit

Permalink
fix: (CXSPA-9060) - Limit popover width on sub 375px devices (#19683)
Browse files Browse the repository at this point in the history
Co-authored-by: Giancarlo Cordero Ortiz <[email protected]>
  • Loading branch information
Pio-Bar and giancorderoortiz authored Dec 3, 2024
1 parent 20ab001 commit bb7b6af
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
padding: 1rem 0.938rem;
box-shadow: 0px 1px 11px 2px var(--cx-popover-box-shadow-color);

// limiting the width to a portion of the viewport ensures there is no overflow on sub 375px devices
@include media-breakpoint-down('xs') {
max-width: 70vw;
}

@include forFeature('a11yImproveContrast') {
@include type('7');
}
Expand Down

0 comments on commit bb7b6af

Please sign in to comment.