Skip to content

Commit a24f6e8

Browse files
committed
fix styling of lineNumber and filename with big sized font
1 parent 297c764 commit a24f6e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

browser/components/markdown.styl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ code
206206
text-decoration none
207207
margin-right 2px
208208
pre
209-
padding 0.5em !important
209+
padding 0.5rem !important
210210
border solid 1px #D1D1D1
211211
border-radius 5px
212212
overflow-x auto
213-
margin 0 0 1em
213+
margin 0 0 1rem
214214
display flex
215215
line-height 1.4em
216216
code
@@ -226,17 +226,17 @@ pre
226226
flex 1
227227
overflow-x auto
228228
&>span.filename
229-
margin -8px 100% 8px -8px
230-
padding 2px 6px
229+
margin -0.5rem 100% 0.5rem -0.5rem
230+
padding 0.125rem 0.375rem
231231
background-color #777;
232232
color white
233233
&:empty
234234
display none
235235
&>span.lineNumber
236236
display none
237237
font-size 1em
238-
padding 0.5em 0
239-
margin -0.5em 0.5em -0.5em -0.5em
238+
padding 0.5rem 0
239+
margin -0.5rem 0.5rem -0.5rem -0.5rem
240240
border-right 1px solid
241241
text-align right
242242
border-top-left-radius 4px

0 commit comments

Comments
 (0)