From 2e7dca1c0a14ef2930ac978c9ca5f2f0818d68c3 Mon Sep 17 00:00:00 2001 From: charlie Date: Mon, 28 Nov 2022 15:16:58 +0800 Subject: [PATCH] improve(ui): size of mobile bar --- src/main/frontend/mobile/index.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/frontend/mobile/index.css b/src/main/frontend/mobile/index.css index 129928df025..6276e1ee6dd 100644 --- a/src/main/frontend/mobile/index.css +++ b/src/main/frontend/mobile/index.css @@ -67,9 +67,6 @@ position: fixed; bottom: 0; transition: bottom 260ms; - /* transition-timing-function: cubic-bezier(.29, 1.01, 1, -0.68); */ - /* transition-timing-function: steps(10, jump-end); */ - /* transition-timing-function: steps(5, end); */ transition-timing-function: ease-out; left: 0; width: 100%; @@ -78,17 +75,17 @@ justify-content: space-between; button { - padding: 7px 10px; + @apply flex items-center py-2 px-2; .submenu { - background-color: red; z-index: 100; background-color: var(--ls-secondary-background-color); border-radius: 5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02); overflow-x: overlay; overflow-y: hidden; - left: 0px; + overflow-scrolling: touch; + left: 0; height: 40px; }