mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 12:54:24 +01:00
feat(layout/inline-title): title and icon
This commit is contained in:
parent
ac3d57d5da
commit
621ebe4396
@ -2,4 +2,6 @@
|
||||
contain: none;
|
||||
padding-bottom: 2em;
|
||||
padding-inline-start: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@ -3,6 +3,8 @@ import "./InlineTitle.css";
|
||||
import { useEffect, useRef, useState } from "preact/hooks";
|
||||
|
||||
import FNote from "../../entities/fnote";
|
||||
import NoteIcon from "../note_icon";
|
||||
import NoteTitleWidget from "../note_title";
|
||||
import { useNoteContext } from "../react/hooks";
|
||||
|
||||
export default function InlineTitle() {
|
||||
@ -40,7 +42,8 @@ export default function InlineTitle() {
|
||||
ref={containerRef}
|
||||
className="inline-title-row"
|
||||
>
|
||||
Title goes here.
|
||||
<NoteIcon />
|
||||
<NoteTitleWidget />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user