style/floating buttons: fix the offset of the "Show buttons" button on canvas notes

This commit is contained in:
Adorian Doran
2025-09-20 17:05:06 +03:00
parent 2768b76278
commit d276cdf519

View File

@@ -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 > * {