fix: keep player status dialog centered within viewport
This commit is contained in:
2 files changed
+8
-3
No files matched your search
@@ -1,4 +1,5 @@
|
||||
archive/
|
||||
screenshots/
|
||||
.DS_Store
|
||||
.idea/
|
||||
node_modules/
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user