modals: Prevent possible native horizontal scrollbar.

This commit is contained in:
Karl Stolley
2025-03-03 14:07:53 -06:00
committed by Tim Abbott
parent 3d44973640
commit e7eae0aa30

View File

@@ -130,9 +130,15 @@
flex-direction: column;
/* 16px at 14px/1em */
font-size: 1.1429em;
overflow-y: auto;
padding: 2px 24px;
line-height: 1.5;
/* Prevent the appearance of a horizontal
native scrollbar at certain
info-density/zoom levels. */
overflow: hidden auto;
/* Set a max-width, less the 24px of left and right
padding specified above. */
max-width: calc(100% - 48px);
&.simplebar-scrollable-y + .modal__footer {
border-top: 1px solid hsl(0deg 0% 87%);