mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
feat(ribbon): prototype sticky ribbon
This commit is contained in:
parent
fcf51ec6da
commit
05679f7a8d
@ -130,7 +130,6 @@ export default class DesktopLayout {
|
||||
.child(<ClosePaneButton />)
|
||||
.child(<CreatePaneButton />)
|
||||
)
|
||||
.child(<Ribbon />)
|
||||
.child(new WatchedFileUpdateStatusWidget())
|
||||
.child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />)
|
||||
.child(
|
||||
@ -150,6 +149,7 @@ export default class DesktopLayout {
|
||||
.child(<ReadOnlyNoteInfoBar />)
|
||||
.child(<SharedInfo />)
|
||||
)
|
||||
.child(<Ribbon />)
|
||||
.child(<PromotedAttributes />)
|
||||
.child(<SqlTableSchemas />)
|
||||
.child(<NoteDetail />)
|
||||
|
||||
@ -183,13 +183,10 @@ ul.editability-dropdown li.dropdown-item > div {
|
||||
* Styling as a floating toolbar
|
||||
*/
|
||||
.ribbon-container {
|
||||
background: var(--card-background-color);
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
|
||||
margin: 10px;
|
||||
border-radius: 6px;
|
||||
padding: 5px 0;
|
||||
|
||||
.ribbon-body {
|
||||
border-bottom: 0;
|
||||
}
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: var(--main-background-color);
|
||||
z-index: 997;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user