Skip to content

Commit 39ccb79

Browse files
Merge pull request #29 from xsnippet/styles-fix
Style fixes for code mirror areas
2 parents 674b5df + 66d13b8 commit 39ccb79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400|Raleway:600|Ubuntu+Mono" rel="stylesheet">
6+
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400|Raleway:600" rel="stylesheet">
77
<title>XSnippet</title>
88
</head>
99
<body>

src/styles/common/overwrite.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.react-codemirror2,
44
.CodeMirror
55
height: 100% !important
6-
font-family: font-ubuntu-mono !important
6+
line-height: 1.2
77

88
.new-snippet .react-codemirror2,
99
.new-snippet .CodeMirror
@@ -15,6 +15,7 @@
1515

1616
.CodeMirror-sizer
1717
margin-left: 39px
18+
padding-top: 5px
1819

1920
.CodeMirror-gutters
2021
border-right: none

src/styles/common/variables.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ offset = 70px
3737

3838
font-raleway = 'Raleway', sans-serif
3939
font-quicksand = 'Quicksand', sans-serif
40-
font-ubuntu-mono = 'Ubuntu Mono', monospace

0 commit comments

Comments
 (0)