mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 16:36:36 +00:00
Scroll bar Behavior on Chromium Browsers, c-modal_content (#976)
_Related to Issue #972_ ## Description: Updating the modal_content overflow behavior from "scroll" to "auto" presents the scroll-bar when content overflows on the Y axis but hides it when not necessary to view all content. **New behavior**  **Previous behavior**  This maintains the functionality of the Language dialog but hides the scrollbar when necessary in the Join Lobby dialog. This automatic behavior should further apply to any dialogs making use of the `c-modal_content` class. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: ajaxburger
This commit is contained in:
@@ -54,7 +54,7 @@ export class OModal extends LitElement {
|
||||
color: #fff;
|
||||
padding: 1.4rem;
|
||||
max-height: 60dvh;
|
||||
overflow-y: scroll;
|
||||
overflow-y: auto;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user