From 080f9d242686d678069e12c55d2748cfc0fc46a1 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Wed, 23 Aug 2023 16:53:31 +0900 Subject: [PATCH] center chat bar input, fix mobile top bar. --- public/css/mobile-styles.css | 18 +++++++++--------- public/style.css | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/css/mobile-styles.css b/public/css/mobile-styles.css index a53758a8f..0a720b00d 100644 --- a/public/css/mobile-styles.css +++ b/public/css/mobile-styles.css @@ -91,7 +91,7 @@ #top-settings-holder, #top-bar { position: fixed; - padding-top: 8px; + padding-top: 3px; width: 100vw; width: 100svw; } @@ -114,14 +114,14 @@ /* , #world_popup */ { - max-height: calc(100vh - 40px); - max-height: calc(100svh - 40px); + max-height: calc(100vh - 36px); + max-height: calc(100svh - 36px); width: 100% !important; margin: 0 auto; max-width: 100%; left: 0 !important; resize: none !important; - top: 40px; + top: 36px; } .wi-settings { @@ -179,7 +179,7 @@ border-right: 1px solid var(--grey30); border-bottom: 1px solid var(--grey30); border-radius: 0 0 20px 20px; - top: 40px !important; + top: 36px !important; left: 0 !important; backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2)); } @@ -354,8 +354,8 @@ max-height: unset; width: 100vw; width: 100svw; - height: calc(100vh - 40px); - height: calc(100svh - 40px); + height: calc(100vh - 36px); + height: calc(100svh - 36px); padding-right: max(env(safe-area-inset-right), 0px); padding-left: max(env(safe-area-inset-left), 0px); padding-bottom: 0; @@ -396,7 +396,7 @@ #character_popup, #world_popup, .drawer-content { - margin-top: 40px; + margin-top: 36px; } .scrollableInner { @@ -407,4 +407,4 @@ #horde_model { height: unset; } -} +} \ No newline at end of file diff --git a/public/style.css b/public/style.css index c9876f8c6..7d85a8139 100644 --- a/public/style.css +++ b/public/style.css @@ -886,7 +886,7 @@ select { background-color: rgba(255, 0, 0, 0); border: 0; box-shadow: none; - padding: 0; + padding-top: 6px; font-family: "Noto Sans", "Noto Color Emoji", sans-serif; margin: 0; text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor);