Bläddra i källkod

Increase v2 resizer hit area.

Paulo Reis 9 år sedan
förälder
incheckning
cd6b51a1f6
1 ändrade filer med 13 tillägg och 1 borttagningar
  1. 13 1
      services/web/public/stylesheets/app/editor.less

+ 13 - 1
services/web/public/stylesheets/app/editor.less

@@ -284,7 +284,19 @@
 }
 }
 
 
 .ui-layout-resizer when (@is-overleaf = true) {
 .ui-layout-resizer when (@is-overleaf = true) {
-	background-color: @editor-resizer-bg-color;
+	@extra-hit-area: 8px;
+	margin-left: -(@extra-hit-area) !important;
+	margin-right: -(@extra-hit-area - 1px) !important;
+	padding-left: @extra-hit-area !important;
+	padding-right: @extra-hit-area !important;
+	box-sizing: content-box;
+	background-image: linear-gradient(90deg, 
+		transparent,
+		transparent (@extra-hit-area - 1px),
+		@editor-resizer-bg-color (@extra-hit-area - 1px),
+		@editor-resizer-bg-color (@extra-hit-area + 1px),
+		transparent (@extra-hit-area + 1px),
+		transparent);
 
 
 	// .ui-layout-toggler {
 	// .ui-layout-toggler {
 	// 	color: #999;
 	// 	color: #999;