aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/DocumentView.scss')
-rw-r--r--src/client/views/nodes/DocumentView.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss
index 85c305b5a..a0e829d26 100644
--- a/src/client/views/nodes/DocumentView.scss
+++ b/src/client/views/nodes/DocumentView.scss
@@ -37,11 +37,11 @@
top:0;
width:$MINIMIZED_ICON_SIZE;
height:$MINIMIZED_ICON_SIZE;
- transform-origin: left top;
+ transform:translate(-50%, -50%);
}
.minimized-box:hover {
background: $main-accent;
- transform: scale(1.15);
+ transform:translate(-50%, -50%) scale(1.15);;
cursor: pointer;
} \ No newline at end of file