mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-21 14:40:48 +01:00
Fix h-centering of mobile zoomed avatars
This commit is contained in:
parent
95df016d57
commit
8797508aa3
@ -23,9 +23,7 @@
|
|||||||
filter: drop-shadow(2px 2px 2px #51515199);
|
filter: drop-shadow(2px 2px 2px #51515199);
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0 auto;
|
|
||||||
top: 50px;
|
top: 50px;
|
||||||
aspect-ratio: 2 / 3;
|
aspect-ratio: 2 / 3;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
@ -33,6 +31,8 @@
|
|||||||
max-height: calc(60svh - 60px);
|
max-height: calc(60svh - 60px);
|
||||||
max-width: 90vw;
|
max-width: 90vw;
|
||||||
max-width: 90svw;
|
max-width: 90svw;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .world_entry_thin_controls, */
|
/* .world_entry_thin_controls, */
|
||||||
@ -354,11 +354,11 @@
|
|||||||
z-index: 30;
|
z-index: 30;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: none;
|
display: none;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0 auto;
|
|
||||||
top: 50px;
|
top: 50px;
|
||||||
aspect-ratio: 2 / 3;
|
aspect-ratio: 2 / 3;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer25pWidth {
|
.drawer25pWidth {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user