Skip to content

Commit 54d563f

Browse files
committed
improve selectable area
1 parent e8ee8b8 commit 54d563f

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

browser/styles/main/HomeContainer/components/ArticleDetail.styl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ infoButton()
3434
text-align center
3535
width 100%
3636
color inactiveTextColor
37-
*
38-
-webkit-user-select none
3937
.ArticleDetail-info
4038
height 70px
4139
width 100%
4240
font-size 12px
41+
user-select none
4342
&>.tutorial
4443
position fixed
4544
z-index 35
@@ -197,6 +196,7 @@ infoButton()
197196
border solid 1px borderColor
198197
border-radius 5px
199198
transition width 0.15s
199+
user-select none
200200
&.idle
201201
cursor pointer
202202
&:hover
@@ -239,7 +239,7 @@ infoButton()
239239
background-color darken(white, 10%)
240240
.ArticleDetail-panel-header-title
241241
absolute left top
242-
right 120px
242+
right 145px
243243
padding 0 15px
244244
background-color transparent
245245
input
@@ -256,6 +256,7 @@ infoButton()
256256
padding 5px 15px
257257
border-top solid 1px borderColor
258258
overflow-y auto
259+
user-select all
259260
.CodeEditor
260261
absolute left right bottom
261262
top 60px

browser/styles/main/HomeContainer/components/ArticleNavigator.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ articleCount = #999
77
width 200px
88
border-right 1px solid borderColor
99
color white
10+
user-select none
1011
.userInfo
1112
height 60px
1213
display block

browser/styles/main/HomeContainer/components/ArticleTopBar.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ infoBtnActiveBgColor = #3A3A3A
1515
left 200px
1616
height 60px
1717
background-color bgColor
18+
user-select none
1819
&>.tutorial
1920
.clickJammer
2021
fixed top left bottom right

browser/styles/main/index.styl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ global-reset()
99

1010
DEFAULT_FONTS = 'Lato', helvetica, arial, sans-serif
1111

12-
*
13-
-webkit-app-region no-drag
14-
-webkit-user-select none
15-
1612
html, body
1713
width 100%
1814
height 100%

0 commit comments

Comments
 (0)