mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 12:08:03 +08:00
add file properties info in mobile view
This commit is contained in:
parent
d4658b9c2a
commit
1f61c1b3b6
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ import ScreenContainer from "../widgets/mobile_widgets/screen_container.js";
|
||||||
import ScrollingContainer from "../widgets/containers/scrolling_container.js";
|
import ScrollingContainer from "../widgets/containers/scrolling_container.js";
|
||||||
import ProtectedSessionPasswordDialog from "../widgets/dialogs/protected_session_password.js";
|
import ProtectedSessionPasswordDialog from "../widgets/dialogs/protected_session_password.js";
|
||||||
import ConfirmDialog from "../widgets/dialogs/confirm.js";
|
import ConfirmDialog from "../widgets/dialogs/confirm.js";
|
||||||
|
import FilePropertiesWidget from "../widgets/ribbon_widgets/file_properties.js";
|
||||||
|
|
||||||
const MOBILE_CSS = `
|
const MOBILE_CSS = `
|
||||||
<style>
|
<style>
|
||||||
|
@ -128,7 +129,7 @@ export default class MobileLayout {
|
||||||
.child(
|
.child(
|
||||||
new NoteDetailWidget()
|
new NoteDetailWidget()
|
||||||
.css('padding', '5px 20px 10px 0')
|
.css('padding', '5px 20px 10px 0')
|
||||||
)
|
).child(new FilePropertiesWidget().css('font-size','smaller'))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.child(new ProtectedSessionPasswordDialog())
|
.child(new ProtectedSessionPasswordDialog())
|
||||||
|
|
Loading…
Reference in a new issue