style: enforce max-width on media

This commit is contained in:
Erzbir
2026-06-15 17:25:03 +08:00
parent 8b73eb712f
commit aa318315ea
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -79,6 +79,7 @@
&-logo { &-logo {
width: 100%; width: 100%;
max-width: 100% !important;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
display: block; display: block;
+14
View File
@@ -100,6 +100,8 @@ body {
} }
body[layout_mode='fullscreen'] { body[layout_mode='fullscreen'] {
--width-theme-media-max: calc(var(--size-theme-font) * 75);
.wrapper { .wrapper {
display: block; display: block;
} }
@@ -115,6 +117,18 @@ body[layout_mode='fullscreen'] {
width: 100%; width: 100%;
max-width: none !important; max-width: none !important;
} }
.content table {
width: 100%;
}
.content img,
.content video,
.content figure {
max-width: 60%;
margin-left: auto;
margin-right: auto;
}
} }
@media (max-width: 1024px) { @media (max-width: 1024px) {