Skip to content

Commit

Permalink
Change inline files to not have absolute headers
Browse files Browse the repository at this point in the history
I haven’t thoroughly examined the effects of this, it’s
specific to a problem in travis-ci#2147.
  • Loading branch information
backspace authored and gitandhub1 committed Jun 5, 2020
1 parent 9957f1e commit 184717d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions assets/stylesheets/_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
padding-top: 1.9em
&:before
content: attr(data-file)
position: absolute
top: 1.1em
left: 0
display: inline-block
z-index: 5
background: $cement-grey
width: 100%
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/prism.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
margin-bottom: .5em;
overflow: auto;
}

Expand Down

0 comments on commit 184717d

Please sign in to comment.