mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +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,
|
||||
.show-floating-buttons {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
top: var(--floating-buttons-vert-offset, 10px);
|
||||
right: var(--floating-buttons-horiz-offset, 10px);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
z-index: 100;
|
||||
@@ -28,8 +28,8 @@
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.type-canvas .floating-buttons-children {
|
||||
top: 70px;
|
||||
.type-canvas {
|
||||
--floating-buttons-vert-offset: 70px;
|
||||
}
|
||||
|
||||
.type-canvas .floating-buttons-children > * {
|
||||
|
||||
Reference in New Issue
Block a user