mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-25 05:32:17 +00:00
Prevent screen jittering by scrollbar gutter
This commit is contained in:
parent
72a7e7c1a2
commit
de5bff6999
@ -1,5 +1,4 @@
|
||||
html {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
scrollbar-color: grey transparent;
|
||||
@ -40,6 +39,7 @@ html {
|
||||
/* css vars */
|
||||
|
||||
#ui {
|
||||
overflow: overlay;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -2760,7 +2760,7 @@ br {
|
||||
.l-speedrun-milestone-tab {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
width: 100%;
|
||||
width: 95%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: auto;
|
||||
@ -3246,6 +3246,7 @@ br {
|
||||
flex-flow: row wrap;
|
||||
width: 90rem;
|
||||
justify-content: center;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.l-challenge-grid__cell {
|
||||
|
@ -115,7 +115,7 @@ export default {
|
||||
.c-speedrun-status {
|
||||
white-space: nowrap;
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
right: 2rem;
|
||||
bottom: 1rem;
|
||||
z-index: 5;
|
||||
font-size: 1.2rem;
|
||||
|
@ -82,7 +82,7 @@ export default {
|
||||
.l-pelle-panel-container {
|
||||
border: var(--var-border-width, 0.2rem) solid var(--color-pelle--base);
|
||||
border-radius: var(--var-border-radius, 0.5rem);
|
||||
margin: 1rem;
|
||||
margin: 1.6rem;
|
||||
padding: 1rem;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
|
@ -172,7 +172,7 @@ export default {
|
||||
.l-pelle-panel-container {
|
||||
border: var(--var-border-width, 0.2rem) solid var(--color-pelle--base);
|
||||
border-radius: var(--var-border-radius, 0.5rem);
|
||||
margin: 1rem;
|
||||
margin: 1.6rem;
|
||||
padding: 1rem;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
|
@ -154,7 +154,7 @@ export default {
|
||||
.l-pelle-panel-container {
|
||||
border: var(--var-border-width, 0.2rem) solid var(--color-pelle--base);
|
||||
border-radius: var(--var-border-radius, 0.5rem);
|
||||
margin: 1rem;
|
||||
margin: 1.6rem;
|
||||
padding: 1rem;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
|
Loading…
Reference in New Issue
Block a user