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/
|
archive/
|
||||||
|
screenshots/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea/
|
.idea/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|||||||
@@ -969,15 +969,18 @@ button:disabled,
|
|||||||
.player-status {
|
.player-status {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 8;
|
z-index: 8;
|
||||||
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: min(42rem, calc(100% - 2rem));
|
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;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 0.9rem;
|
gap: 0.9rem;
|
||||||
inset-block-start: 50%;
|
top: 50%;
|
||||||
inset-inline-start: 50%;
|
left: 50%;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -1003,6 +1006,7 @@ button:disabled,
|
|||||||
.player-status p,
|
.player-status p,
|
||||||
.player-status small {
|
.player-status small {
|
||||||
color: #c7ccda;
|
color: #c7ccda;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-symbol {
|
.status-symbol {
|
||||||
|
|||||||
Reference in new issue
Block a user