mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
feat(layout): new icon for note actions & fix padding
This commit is contained in:
parent
1e72ebd104
commit
a0f0da64b4
@ -136,10 +136,6 @@ export default class DesktopLayout {
|
||||
.child(
|
||||
new FlexContainer("row")
|
||||
.class("breadcrumb-row")
|
||||
.css("height", "30px")
|
||||
.css("min-height", "30px")
|
||||
.css("align-items", "center")
|
||||
.css("padding", "10px")
|
||||
.cssBlock(".breadcrumb-row > * { margin: 5px; }")
|
||||
.child(<Breadcrumb />)
|
||||
.child(<SpacerWidget baseSize={0} growthFactor={1} />)
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
.breadcrumb-row {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
min-height: 30px;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body.experimental-feature-new-layout .breadcrumb-row {
|
||||
padding-inline-end: 0;
|
||||
}
|
||||
|
||||
.component.breadcrumb {
|
||||
|
||||
@ -60,7 +60,7 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not
|
||||
|
||||
return (
|
||||
<Dropdown
|
||||
buttonClassName="bx bx-dots-vertical-rounded"
|
||||
buttonClassName={ isNewLayout ? "bx bx-dots-horizontal-rounded" : "bx bx-dots-vertical-rounded" }
|
||||
className="note-actions"
|
||||
hideToggleArrow
|
||||
noSelectButtonStyle
|
||||
|
||||
@ -432,6 +432,7 @@ body.experimental-feature-new-layout {
|
||||
|
||||
.ribbon-button-container {
|
||||
border-bottom: 0 !important;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
/* #endregion */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user