1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #1533 from forestail/display-filename-in-codeblock

Display filename in codeblock (resend)
This commit is contained in:
Junyoung Choi (Sai)
2018-02-22 11:06:20 +09:00
committed by GitHub
2 changed files with 23 additions and 7 deletions

View File

@@ -220,6 +220,7 @@ pre
background-color white
&.CodeMirror
height initial
flex-wrap wrap
&>code
flex 1
overflow-x auto
@@ -229,6 +230,13 @@ pre
padding 0
border none
border-radius 0
&>span.filename
width 100%
border-radius: 5px 0px 0px 0px
margin -8px 100% 8px -8px
padding 0px 6px
background-color #777;
color white
&>span.lineNumber
display none
font-size 1em