diff --git a/src/client/FlagInputModal.ts b/src/client/FlagInputModal.ts index a36157509..65f56754d 100644 --- a/src/client/FlagInputModal.ts +++ b/src/client/FlagInputModal.ts @@ -95,14 +95,36 @@ export class FlagInputModal extends LitElement { } static styles = css` - @media (max-width: 768px) { - .flag-modal { - width: 80vw; - } + :host { + display: flex; + flex-direction: column; + height: 100%; + } - .dropdown-item { - width: calc(100% / 3 - 15px); - } + .flag-modal { + display: flex; + flex-direction: column; + height: 100%; + overflow: hidden; + } + + .grid { + flex-grow: 1; + overflow-y: auto; + } + + .flex-col { + display: flex; + flex-direction: column; + height: 100%; + } + + .overflow-hidden { + overflow: hidden; + } + + .overflow-y-auto { + overflow-y: auto; } `; @@ -235,6 +257,7 @@ export class FlagInputModal extends LitElement { widthRatio="0.8" heightRatio="0.75" disableScroll="true" + special="true" >