better timer style

pull/5495/head
llcc 2022-05-30 22:50:04 +08:00 committed by Tienson Qin
parent a65f6232fc
commit 332c8e6987
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
left: 5px;
transition: none;
z-index: 9999;
padding: 5px 5px 0px 5px;
padding: 5px;
border-radius: 5px;
}

View File

@ -380,8 +380,8 @@
(def circle-stop
[:svg
{:width "1.3rem"
:height "1.3rem"
{:width "20px"
:height "20px"
:viewBox "0 0 512 512"
:fill "currentColor"}
[:path

View File

@ -39,7 +39,7 @@
(if (= (state/sub :editor/record-status) "NONE")
(mobile-bar-command #(do (record/start-recording)
(reset! *record-start (js/Date.now))) "microphone")
[:div.flex.flex-row.items-center
[:div.flex.flex-row.items-center.pl-1
(mobile-bar-command #(do (record/stop-recording)
(reset! *record-start nil))
"player-stop")