Feat: record audio on mobile (#4766)

* feat(audio): render audio link as component

* refactor frontend/component/block/inline

* fix audio component on mobile

* Fix(iOS): allow clock to replay audio

* feat(mobile): audio record

* add permission request code on record

* rename `editor/recording?` to `editor/record-status`

* move `get-asset-path` into handler/editor.cljs

* add android settings

* support sharing audio file from some apps

* enhance(record): insert audio link in a new block if non-editing

* feat(audio): allow cancelling record

* fix lints

* feat(iOS): add a tab bar

* tweak some css on mobile

* fix lints

* fix https://github.com/logseq/logseq/issues/4798

* enable tab bar on Android

* fix landscape height of tab bar

* add :reuse-last-block? option

* dont't show tab bar when editing mirror code

* tweak code-editor css

* increase width for more functional buttons

* fix card preview css on iPad

* add document-mode to tab bar

* remove tabbar when editing code and tweak textarea resize cursor behavior

* reduce SplashScreen launch screen duration

* don't show tabbar when editing page title

* enhance: float timer

* fix lint

* fix tabbar height on iPhone without notch

* remove .embed-page width

* fix lint

Co-authored-by: Andelf <andelf@gmail.com>
This commit is contained in:
llcc
2022-04-12 20:17:54 +08:00
committed by GitHub
parent 9f6aad98cf
commit f4985fd8ef
35 changed files with 1028 additions and 635 deletions

View File

@@ -224,9 +224,19 @@ html.is-native-ipad {
padding-top: 0px;
}
#main-content-container {
padding-top: 0px;
height: calc(100vh - var(--ls-headbar-inner-top-padding) - var(--ls-headbar-height));
#main-content-container {
padding-left: 22px;
padding-right: 14px;
padding-top: 0px;
height: calc(100vh - var(--ls-headbar-inner-top-padding) - var(--ls-headbar-height));
@screen sm {
padding-left: 2rem;
}
.page {
margin-top: 24px;
}
}
.cp__header > .r {