fix(ui): ограничить fallback высоты первым экраном #16

This commit is contained in:
Panfilov Konstantin committed 2026-10-23 19:46:41 +03:00
1 parent 198ba573f9
commit 0e6611da73
3 files changed
+18 -9

No files matched your search

+6 -3
View File
@@ -2908,9 +2908,12 @@ body { isolation: isolate; }
color: #979aa0; pointer-events: none; cursor: default;
}
.wrapper { min-height: 100vh; min-height: 100svh; }
.wrapper .main-section:not(.main-section-alt),
.wrapper .main-section.main-section-alt2,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); min-height: calc(100svh - var(--site-header-height)); }
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); }
@supports (height: 100svh) {
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100svh - var(--site-header-height)); }
}
@media (min-width: 768px) {
.index-mobile-fit .index-upload-heading { font-size: 24px; font-weight: 600; }
}
+6 -3
View File
@@ -856,9 +856,12 @@ padding-top: 2svh !important;
color: #979aa0; pointer-events: none; cursor: default;
}
.wrapper { min-height: 100vh; min-height: 100svh; }
.wrapper .main-section:not(.main-section-alt),
.wrapper .main-section.main-section-alt2,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); min-height: calc(100svh - var(--site-header-height)); }
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); }
@supports (height: 100svh) {
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100svh - var(--site-header-height)); }
}
@media (min-width: 768px) {
.index-mobile-fit .index-upload-heading { font-size: 24px; font-weight: 600; }
}
+6 -3
View File
@@ -155,9 +155,12 @@ body { isolation: isolate; }
color: #979aa0; pointer-events: none; cursor: default;
}
.wrapper { min-height: 100vh; min-height: 100svh; }
.wrapper .main-section:not(.main-section-alt),
.wrapper .main-section.main-section-alt2,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); min-height: calc(100svh - var(--site-header-height)); }
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100vh - var(--site-header-height)); }
@supports (height: 100svh) {
.wrapper .main-section.index-mobile-fit,
.wrapper .main-content-wrapper { min-height: calc(100svh - var(--site-header-height)); }
}
@media (min-width: 768px) {
.index-mobile-fit .index-upload-heading { font-size: 24px; font-weight: 600; }
}