fix: keep player status dialog centered within viewport

This commit is contained in:
Meghdad committed 2026-07-15 03:07:04 +03:30
1 parent 2dc90e3b46
commit f9de2f15b0
2 files changed
+8 -3

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
archive/
screenshots/
.DS_Store
.idea/
node_modules/
+7 -3
View File
@@ -969,15 +969,18 @@ button:disabled,
.player-status {
position: absolute;
z-index: 8;
box-sizing: border-box;
display: flex;
width: min(42rem, calc(100% - 2rem));
min-height: 18rem;
min-height: min(18rem, calc(100% - 2rem));
max-height: calc(100% - 2rem);
overflow-y: auto;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.9rem;
inset-block-start: 50%;
inset-inline-start: 50%;
top: 50%;
left: 50%;
padding: 2rem;
color: white;
text-align: center;
@@ -1003,6 +1006,7 @@ button:disabled,
.player-status p,
.player-status small {
color: #c7ccda;
overflow-wrap: anywhere;
}
.status-symbol {