mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 06:14:28 +01:00
style(right_pane): improve header space slightly
This commit is contained in:
parent
02294206ec
commit
7b04ca8cc7
@ -6,8 +6,12 @@ body.experimental-feature-new-layout #right-pane {
|
||||
border-bottom: 1px solid var(--main-border-color);
|
||||
border-radius: 0;
|
||||
|
||||
.card-header-title {
|
||||
padding-inline: 0.5em;
|
||||
.card-header {
|
||||
padding-block: 0.2em;
|
||||
|
||||
.card-header-title {
|
||||
padding-inline: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
@ -18,4 +22,8 @@ body.experimental-feature-new-layout #right-pane {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
}
|
||||
|
||||
.gutter-vertical + .card .card-header {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ import HighlightsList from "./HighlightsList";
|
||||
import TableOfContents from "./TableOfContents";
|
||||
|
||||
const MIN_WIDTH_PERCENT = 5;
|
||||
const COLLAPSED_SIZE = 32;
|
||||
const COLLAPSED_SIZE = 25;
|
||||
|
||||
export const RightPanelContext = createContext({
|
||||
setExpanded(cardEl: HTMLElement, expanded: boolean) {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user