Skip to content

Build your personal knowledge base with Trilium Notes

style/image viewer: fix missing zoom controls

Adorian Doran444e3b92c0bf
diff --git a/apps/client/src/widgets/react/ImageViewer.css b/apps/client/src/widgets/react/ImageViewer.css
index 328f10ecb9..2e9af76a81 100644
--- a/apps/client/src/widgets/react/ImageViewer.css
+++ b/apps/client/src/widgets/react/ImageViewer.css
@@ -6,6 +6,14 @@
outline: none;
}
+/* Zoom controls pinned to the bottom-right corner of the viewport. */
+.image-viewer-controls {
+ position: absolute;
+ inset-inline-end: 10px;
+ bottom: 10px;
+ z-index: 1;
+}
+
/* Shortcut-hints button pinned to the top-right corner of the viewport. */
.image-viewer-hint-button {
position: absolute;