UI: уменьшение splash logo и правки diary preview

This commit is contained in:
AidarKC
2026-08-11 17:03:46 +04:00
parent bc11b60147
commit ee5d86003b
7 changed files with 22 additions and 18 deletions
+3 -3
View File
@@ -538,7 +538,7 @@
.initial-splash__logo-wrap {
position: relative;
isolation: isolate;
width: clamp(232px, 59vw, 284px);
width: clamp(156px, 42vw, 208px);
aspect-ratio: 1;
}
@@ -565,9 +565,9 @@
}
.initial-splash__brand {
margin-top: -4px;
margin-top: -2px;
color: #f4ebdd;
font-size: clamp(42px, 9vw, 56px);
font-size: clamp(34px, 7vw, 46px);
font-weight: 500;
line-height: 1;
text-shadow: 0 3px 22px rgba(210, 168, 90, 0.2);
+11 -12
View File
@@ -4,6 +4,7 @@ body {
background: #05070A;
min-height: 100vh;
position: relative;
overflow: hidden;
}
body::before {
@@ -22,8 +23,12 @@ body::before {
.app-shell {
width: min(100vw, 430px);
height: 100dvh;
position: relative;
height: 100vh;
height: 100svh;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
--call-minimized-bar-height: 0px;
--topbar-height: 0px;
--composer-height: 0px;
@@ -111,22 +116,16 @@ body::before {
}
body.chat-keyboard-open .screen-content {
bottom: calc(var(--composer-height, 0px) + var(--keyboard-offset, 0px));
bottom: calc(var(--composer-height, 0px) + max(var(--toolbar-height, 78px), var(--keyboard-offset, 0px)));
padding-bottom: calc(14px + env(safe-area-inset-bottom));
}
body.chat-keyboard-open .composer-slot {
bottom: var(--keyboard-offset, 0px);
bottom: max(var(--toolbar-height, 78px), var(--keyboard-offset, 0px));
padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
body.chat-keyboard-open .toolbar-slot {
opacity: 0;
pointer-events: none;
transform: translateY(calc(100% + env(safe-area-inset-bottom)));
}
body.chat-keyboard-open.chat-toolbar-persistent .toolbar-slot {
opacity: 1;
pointer-events: auto;
transform: none;
@@ -173,8 +172,8 @@ body.chat-keyboard-open.chat-toolbar-persistent .toolbar-slot {
@media (min-width: 900px) {
.app-shell {
margin: 16px 0;
height: calc(100dvh - 32px);
top: 16px;
height: calc(100svh - 32px);
border-radius: 24px;
}
}