From 69d11b5cd0985e361c0126075f3a2db1808840f2 Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Wed, 20 Jul 2016 00:47:25 +0900 Subject: [PATCH] fix css bugs content of rendered preview should be selectable the hit box of width slider should has the highest z-index --- browser/components/markdown.styl | 1 + browser/main/Main.styl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/components/markdown.styl b/browser/components/markdown.styl index 3556f53c..2cd0f3e2 100644 --- a/browser/components/markdown.styl +++ b/browser/components/markdown.styl @@ -54,6 +54,7 @@ body font-family helvetica, arial, sans-serif line-height 1.6 overflow-x hidden + user-select all .katex font 400 1.2em 'KaTeX_Main' line-height 1.2em diff --git a/browser/main/Main.styl b/browser/main/Main.styl index 426d4e62..f16a583c 100644 --- a/browser/main/Main.styl +++ b/browser/main/Main.styl @@ -17,7 +17,6 @@ border-width 0 border-style solid border-color $ui-borderColor - cursor col-resize .slider--active @extend .slider @@ -27,3 +26,5 @@ absolute top bottom left right width 7px left -3px + z-index 10 + cursor col-resize