mirror of https://github.com/logseq/logseq
chore: css cleanup
parent
f150b5db0f
commit
a9267afb47
|
@ -37,7 +37,6 @@
|
||||||
[state]
|
[state]
|
||||||
(when (= (state/sub :editor/record-status) "RECORDING")
|
(when (= (state/sub :editor/record-status) "RECORDING")
|
||||||
(swap! *record-start inc))
|
(swap! *record-start inc))
|
||||||
[:div.flex.flex-row
|
|
||||||
(if (= (state/sub :editor/record-status) "NONE")
|
(if (= (state/sub :editor/record-status) "NONE")
|
||||||
(do
|
(do
|
||||||
(reset! *record-start -1)
|
(reset! *record-start -1)
|
||||||
|
@ -46,8 +45,7 @@
|
||||||
(mobile-bar-command record/stop-recording "player-stop")
|
(mobile-bar-command record/stop-recording "player-stop")
|
||||||
[:div.timer.pl-2
|
[:div.timer.pl-2
|
||||||
{:on-click record/stop-recording}
|
{:on-click record/stop-recording}
|
||||||
(seconds->minutes:seconds @*record-start)]])
|
(seconds->minutes:seconds @*record-start)]]))
|
||||||
])
|
|
||||||
|
|
||||||
(rum/defc footer < rum/reactive
|
(rum/defc footer < rum/reactive
|
||||||
[]
|
[]
|
||||||
|
@ -55,7 +53,7 @@
|
||||||
(state/mobile?)
|
(state/mobile?)
|
||||||
(state/sub :mobile/show-tabbar?)
|
(state/sub :mobile/show-tabbar?)
|
||||||
(state/get-current-repo))
|
(state/get-current-repo))
|
||||||
[:div.cp__footer.w-full.bottom-0.justify-between
|
[:div.cp__footer.w-full.bottom-0.justify-between.items-center
|
||||||
(audio-record-cp)
|
(audio-record-cp)
|
||||||
(mobile-bar-command #(state/toggle-document-mode!) "notes")
|
(mobile-bar-command #(state/toggle-document-mode!) "notes")
|
||||||
(mobile-bar-command
|
(mobile-bar-command
|
||||||
|
|
Loading…
Reference in New Issue