From 062c2523bcacc4cabd109f7498b113e114b0975d Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 27 May 2022 13:53:59 +0800 Subject: [PATCH] fix: center item --- src/main/frontend/mobile/footer.cljs | 2 +- src/main/frontend/mobile/index.css | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/frontend/mobile/footer.cljs b/src/main/frontend/mobile/footer.cljs index 5712de538b..14cc6d91f6 100644 --- a/src/main/frontend/mobile/footer.cljs +++ b/src/main/frontend/mobile/footer.cljs @@ -53,7 +53,7 @@ (state/mobile?) (state/sub :mobile/show-tabbar?) (state/get-current-repo)) - [:div.cp__footer.w-full.bottom-0.justify-between.items-center + [:div.cp__footer.w-full.bottom-0.justify-between (audio-record-cp) (mobile-bar-command #(state/toggle-document-mode!) "notes") (mobile-bar-command diff --git a/src/main/frontend/mobile/index.css b/src/main/frontend/mobile/index.css index be8a789b90..92c57f3c07 100644 --- a/src/main/frontend/mobile/index.css +++ b/src/main/frontend/mobile/index.css @@ -11,7 +11,7 @@ height: 80px; /* border-top: 1.5px solid var(--ls-tertiary-border-color); */ box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.10); - + .ti, .timer { color: var(--ls-primary-text-color); opacity: 0.5; @@ -51,12 +51,12 @@ left: 0px; height: 40px; } - + .show-submenu { display: block; } } - + .toolbar-commands { justify-content: space-between; display: flex; @@ -103,10 +103,14 @@ html.is-zoomed-native-ios { .cp__footer { height: 60px; } - + @media (orientation: landscape) { .cp__footer { height: 50px; } } } + +.bottom-action { + line-height: 1.15; +}