improve style

This commit is contained in:
SrGooglo 2023-04-13 00:24:24 +00:00
parent 201b28e084
commit 16eb7eb437

View File

@ -7,6 +7,11 @@
grid-row-gap: 0px; grid-row-gap: 0px;
.play_info_wrapper { .play_info_wrapper {
position: sticky;
top: 0;
left: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -14,6 +19,7 @@
justify-content: center; justify-content: center;
width: 100%; width: 100%;
height: fit-content;
color: var(--text-color); color: var(--text-color);
@ -40,8 +46,11 @@
align-self: center; align-self: center;
width: 400px; width: 20vw;
height: 400px; height: 20vw;
max-width: 400px;
max-height: 400px;
background-color: black; background-color: black;
border-radius: 12px; border-radius: 12px;
@ -49,8 +58,11 @@
overflow: hidden; overflow: hidden;
img { img {
width: 100%; width: 20vw;
height: 100%; height: 20vw;
max-width: 400px;
max-height: 400px;
border-radius: 12px; border-radius: 12px;
@ -137,7 +149,7 @@
color: var(--text-color); color: var(--text-color);
padding: 0 30px; padding: 20px 30px;
} }
} }