Skip to content

Commit 69d11b5

Browse files
committed
fix css bugs
content of rendered preview should be selectable the hit box of width slider should has the highest z-index
1 parent f36f202 commit 69d11b5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

browser/components/markdown.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ body
5454
font-family helvetica, arial, sans-serif
5555
line-height 1.6
5656
overflow-x hidden
57+
user-select all
5758
.katex
5859
font 400 1.2em 'KaTeX_Main'
5960
line-height 1.2em

browser/main/Main.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
border-width 0
1818
border-style solid
1919
border-color $ui-borderColor
20-
cursor col-resize
2120

2221
.slider--active
2322
@extend .slider
@@ -27,3 +26,5 @@
2726
absolute top bottom left right
2827
width 7px
2928
left -3px
29+
z-index 10
30+
cursor col-resize

0 commit comments

Comments
 (0)