This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Prevent accidential selection of line numbers in code view (
#1860
)
for-closed-social
silverwind
7 years ago
committed by
Bo-Yi Wu
parent
703d18e50d
commit
ae922afa2d
2 changed files
with
8 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
public/css/index.css
+4
-0
public/less/_repository.less
+ 4
- 0
public/css/index.css
View File
@ -1404,6 +1404,10 @@ footer .ui.language .menu {
color
:
#
999
;
color
:
#
999
;
background
:
#
f5f5f5
;
background
:
#
f5f5f5
;
width
:
1
%
;
width
:
1
%
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-webkit-user-select
:
none
;
user-select
:
none
;
}
}
.
repository
.
file
.
list
#
file-content
.
code-view
.
lines-num
span
{
.
repository
.
file
.
list
#
file-content
.
code-view
.
lines-num
span
{
line-height
:
20px
;
line-height
:
20px
;
+ 4
- 0
public/less/_repository.less
View File
@ -274,6 +274,10 @@
color: #999;
color: #999;
background: #f5f5f5;
background: #f5f5f5;
width: 1%;
width: 1%;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
span {
span {
line-height: 20px;
line-height: 20px;
Write
Preview
Loading…
Cancel
Save