Register scroll + fix of horizontal alignment

This commit is contained in:
2024-10-05 17:05:29 +02:00
parent dcc01d2a99
commit 224457b8b6

View File

@@ -27,10 +27,11 @@ body {
.app {
overflow-y: scroll;
overflow-x: hidden;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, calc(-50% - 80px));
transform: translate(-50%, calc(-50% - 60px));
background-color: #181926;
border-radius: 12px;
width: calc(100dvw - 40px);
@@ -38,7 +39,7 @@ body {
max-height: calc(100dvh - 100px);
height: fit-content;
padding: 10px;
margin: 50px;
margin-top: 35px;
}
.app > h1 {