mirror of https://github.com/logseq/logseq
enhance(mobile): enhance References margin and padding
parent
c5adb7457f
commit
969fec3c99
|
@ -160,6 +160,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
html.is-mobile,
|
||||
html.is-native-iphone,
|
||||
html.is-native-android {
|
||||
.references .block-control, .block-control:hover {
|
||||
margin-left: -20px;
|
||||
}
|
||||
}
|
||||
|
||||
.block-ref {
|
||||
border-bottom: 0.5px solid;
|
||||
border-bottom-color: var(--ls-block-ref-link-text-color);
|
||||
|
|
|
@ -200,13 +200,13 @@
|
|||
(when (and (not (mobile-util/is-native-platform?))
|
||||
(not (util/electron?)))
|
||||
(login logged?))
|
||||
|
||||
|
||||
(when plugin-handler/lsp-enabled?
|
||||
(plugins/hook-ui-items :toolbar))
|
||||
|
||||
(when (not= (state/get-current-route) :home)
|
||||
(home-button))
|
||||
|
||||
|
||||
(when (or (util/electron?)
|
||||
(mobile-util/native-ios?))
|
||||
(back-and-forward))
|
||||
|
|
|
@ -290,7 +290,7 @@
|
|||
(when (util/safari?) (.add cl "is-safari"))
|
||||
(when (mobile-util/native-ios?) (.add cl "is-native-ios"))
|
||||
(when (mobile-util/native-android?) (.add cl "is-native-android"))
|
||||
(when (mobile-util/native-iphone?) (.add cl "native-iphone"))
|
||||
(when (mobile-util/native-iphone?) (.add cl "is-native-iphone"))
|
||||
(when (util/electron?)
|
||||
(js/window.apis.on "full-screen" #(js-invoke cl (if (= % "enter") "add" "remove") "is-fullscreen"))
|
||||
(p/then (ipc/ipc :getAppBaseInfo) #(let [{:keys [isFullScreen]} (js->clj % :keywordize-keys true)]
|
||||
|
|
|
@ -129,12 +129,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
html.is-native-andorid
|
||||
html.is-native-andorid,
|
||||
html.is-native-iphone
|
||||
{
|
||||
.ui__modal {
|
||||
top: 22vh;
|
||||
}
|
||||
|
||||
.references .foldable-title {
|
||||
margin-left: 4px
|
||||
}
|
||||
}
|
||||
|
||||
html.is-mobile {
|
||||
|
|
Loading…
Reference in New Issue