Address styling issues

This commit is contained in:
Kristan Schlikow
2024-04-09 19:25:56 +02:00
parent 7d4e689bec
commit d4adbf496f
2 changed files with 7 additions and 5 deletions

View File

@@ -208,6 +208,8 @@
#cfgConfig, #cfgConfig,
#logprobsViewer, #logprobsViewer,
#movingDivs > div { #movingDivs > div {
/* 100vh are fallback units for browsers that don't support svh */
height: calc(100vh - 45px);
height: calc(100svh - 45px); height: calc(100svh - 45px);
min-width: 100% !important; min-width: 100% !important;
width: 100% !important; width: 100% !important;
@@ -220,6 +222,9 @@
top: var(--topBarBlockSize) !important; top: var(--topBarBlockSize) !important;
left: 0 !important; left: 0 !important;
backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2)); backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
}
#right-nav-panel {
padding-right: 15px; padding-right: 15px;
} }
@@ -241,9 +246,6 @@
/* .avatar_div { /* .avatar_div {
margin-top: 5px; margin-top: 5px;
} */ } */
#avatar_controls {
padding:
}
#character_popup { #character_popup {
width: 100%; width: 100%;

View File

@@ -939,8 +939,8 @@ body.reduced-motion #bg_custom {
} }
.avatar img { .avatar img {
width: calc(var(--avatar-base-width) + 5px); width: var(--avatar-base-width);
height: calc(var(--avatar-base-height) + 5px); height: var(--avatar-base-height);
object-fit: cover; object-fit: cover;
object-position: center center; object-position: center center;
border-radius: var(--avatar-base-border-radius-round); border-radius: var(--avatar-base-border-radius-round);