mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 12:54:24 +01:00
fix(layout/inline-title): still visible in other note types
This commit is contained in:
parent
f686d9ecd0
commit
6fa97c845a
@ -1,10 +1,17 @@
|
||||
.component.inline-title-row {
|
||||
contain: none;
|
||||
}
|
||||
|
||||
.inline-title-row {
|
||||
padding-bottom: 2em;
|
||||
padding-inline-start: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.note-icon-widget {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import "./InlineTitle.css";
|
||||
|
||||
import clsx from "clsx";
|
||||
import { useEffect, useRef, useState } from "preact/hooks";
|
||||
|
||||
import FNote from "../../entities/fnote";
|
||||
@ -40,7 +41,7 @@ export default function InlineTitle() {
|
||||
return (
|
||||
<div
|
||||
ref={containerRef}
|
||||
className="inline-title-row"
|
||||
className={clsx("inline-title-row", !shown && "hidden")}
|
||||
>
|
||||
<NoteIcon />
|
||||
<NoteTitleWidget />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user