Skip to content

Commit 49b3297

Browse files
authored
fix(frontend): make the "loading obnoxious amount of JS" banner mobile friendly (#102395)
The CSS is hardcoding the width to be 500px which overflows on mobile devices. Adds a `@media (max-width: 500px)` media query to add custom sizing for those screens. <img width="427" height="435" alt="Screenshot 2025-10-30 at 10 35 17 AM" src="https://github.com/user-attachments/assets/84aecca1-c1b1-4b58-8b74-abe8dd70f335" />
1 parent 7553e1d commit 49b3297

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

static/less/shared-components.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,18 @@ table.table.key-value {
523523
overflow: hidden;
524524
border-radius: 50%;
525525
}
526+
527+
@media (max-width: 500px) {
528+
width: 90vw;
529+
margin-left: -45vw;
530+
531+
.loading-message {
532+
word-wrap: break-word;
533+
overflow-wrap: break-word;
534+
padding: 0 1rem;
535+
box-sizing: border-box;
536+
}
537+
}
526538
}
527539

528540
.theme-dark .loading.triangle .loading-indicator {

0 commit comments

Comments
 (0)