mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
fix styling of lineNumber and filename with big sized font
This commit is contained in:
@@ -206,11 +206,11 @@ code
|
|||||||
text-decoration none
|
text-decoration none
|
||||||
margin-right 2px
|
margin-right 2px
|
||||||
pre
|
pre
|
||||||
padding 0.5em !important
|
padding 0.5rem !important
|
||||||
border solid 1px #D1D1D1
|
border solid 1px #D1D1D1
|
||||||
border-radius 5px
|
border-radius 5px
|
||||||
overflow-x auto
|
overflow-x auto
|
||||||
margin 0 0 1em
|
margin 0 0 1rem
|
||||||
display flex
|
display flex
|
||||||
line-height 1.4em
|
line-height 1.4em
|
||||||
code
|
code
|
||||||
@@ -226,8 +226,8 @@ pre
|
|||||||
flex 1
|
flex 1
|
||||||
overflow-x auto
|
overflow-x auto
|
||||||
&>span.filename
|
&>span.filename
|
||||||
margin -8px 100% 8px -8px
|
margin -0.5rem 100% 0.5rem -0.5rem
|
||||||
padding 2px 6px
|
padding 0.125rem 0.375rem
|
||||||
background-color #777;
|
background-color #777;
|
||||||
color white
|
color white
|
||||||
&:empty
|
&:empty
|
||||||
@@ -235,8 +235,8 @@ pre
|
|||||||
&>span.lineNumber
|
&>span.lineNumber
|
||||||
display none
|
display none
|
||||||
font-size 1em
|
font-size 1em
|
||||||
padding 0.5em 0
|
padding 0.5rem 0
|
||||||
margin -0.5em 0.5em -0.5em -0.5em
|
margin -0.5rem 0.5rem -0.5rem -0.5rem
|
||||||
border-right 1px solid
|
border-right 1px solid
|
||||||
text-align right
|
text-align right
|
||||||
border-top-left-radius 4px
|
border-top-left-radius 4px
|
||||||
|
|||||||
Reference in New Issue
Block a user