mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
style/floating buttons: fix the offset of the "Show buttons" button on canvas notes
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
.floating-buttons-children,
|
.floating-buttons-children,
|
||||||
.show-floating-buttons {
|
.show-floating-buttons {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: var(--floating-buttons-vert-offset, 10px);
|
||||||
right: 10px;
|
right: var(--floating-buttons-horiz-offset, 10px);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
@@ -28,8 +28,8 @@
|
|||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-canvas .floating-buttons-children {
|
.type-canvas {
|
||||||
top: 70px;
|
--floating-buttons-vert-offset: 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-canvas .floating-buttons-children > * {
|
.type-canvas .floating-buttons-children > * {
|
||||||
|
|||||||
Reference in New Issue
Block a user