-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed output blocks so that they wrap in logger HTML
- Loading branch information
Showing
4 changed files
with
38 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,25 @@ | ||
div.output-block-card { | ||
margin-top: 6pt; | ||
} | ||
table.output { | ||
code.output { | ||
display: grid; | ||
grid-template-columns: auto 1fr; | ||
} | ||
code.output pre { | ||
line-height: 1.2; | ||
font-size: 100%; | ||
white-space: pre-wrap; | ||
width: 100%; | ||
margin: 0; | ||
} | ||
table.output tr { | ||
line-height: 1; | ||
table-layout: fixed; | ||
width: auto; | ||
} | ||
table.output tr[line-number] { | ||
text-align: left; | ||
clear: left; | ||
} | ||
table.output tr[line-number] td { | ||
padding: 0; | ||
border: 0; | ||
} | ||
table.output tr[line-number] td code { | ||
white-space: pre; | ||
} | ||
table.output code { | ||
vertical-align: top; | ||
} | ||
table.output td { | ||
width: 100%; | ||
} | ||
table.output tr[line-number]::before { | ||
code.output div[line-number]::before { | ||
line-height: 1.2; | ||
font-size: 100%; | ||
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; | ||
font-size: 87.5%; | ||
opacity: 0.5; | ||
padding-bottom: 2px; | ||
white-space: pre; | ||
content: attr(line-number) ". "; | ||
display: inline-block; | ||
float: right; | ||
margin-left: auto; | ||
text-align: right; | ||
float: left; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<tr line-number="{lineno}"> | ||
<td> | ||
<code>{line}</code> | ||
</td> | ||
</tr> | ||
<div line-number="{lineno}"></div><pre>{line}</pre> |