fixed pos
This commit is contained in:
parent
3fc53b282a
commit
7235ae6dca
@ -363,7 +363,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.player {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 10%;
|
||||||
|
width: 100%;
|
||||||
|
height: 45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.targeting {
|
||||||
|
position: fixed;
|
||||||
|
top: 45%;
|
||||||
|
width: 100%;
|
||||||
|
height: 15%;
|
||||||
|
}
|
||||||
|
|
||||||
.opponent {
|
.opponent {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 40%;
|
||||||
|
|
||||||
.game-construct {
|
.game-construct {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: 1fr min-content;
|
grid-template-rows: 10fr 1fr;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
"main"
|
"main"
|
||||||
"footer";
|
"footer";
|
||||||
@ -31,6 +31,9 @@
|
|||||||
|
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-btn, #instance-nav {
|
#nav-btn, #instance-nav {
|
||||||
|
|||||||
@ -106,7 +106,7 @@ function JoinButtons(args) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
document.execCommand('copy');
|
document.execCommand('copy');
|
||||||
infoToast('Invite link copied.');
|
infoToast('Invite link copied to clipboard.');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('link copy error', err);
|
console.error('link copy error', err);
|
||||||
errorToast('Invite link copy error.');
|
errorToast('Invite link copy error.');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user