Close button sticky in every modal

This commit is contained in:
nwcubeok
2025-03-06 17:25:28 +01:00
parent fa5ba935ff
commit 5c9d266623
4 changed files with 12 additions and 0 deletions
+3
View File
@@ -57,6 +57,9 @@ export class HelpModal extends LitElement {
}
#helpModal .close {
position: sticky;
top: 0px;
right: 0px;
color: #aaa;
float: right;
font-size: 28px;
+3
View File
@@ -91,6 +91,9 @@ export class HostLobbyModal extends LitElement {
}
.close {
position: sticky;
top: 0px;
right: 0px;
color: #aaa;
float: right;
font-size: 28px;
+3
View File
@@ -78,6 +78,9 @@ export class JoinPrivateLobbyModal extends LitElement {
}
.close {
position: sticky;
top: 0px;
right: 0px;
color: #aaa;
float: right;
font-size: 28px;
+3
View File
@@ -84,6 +84,9 @@ export class SinglePlayerModal extends LitElement {
}
.close {
position: sticky;
top: 0px;
right: 0px;
color: #aaa;
float: right;
font-size: 28px;