mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 07:50:57 +01:00
Add some light padding to code views.
Summary: Source code output currently juts up against the border of its container, making the first and last lines harder to read, this diff adds some padding inside. Test Plan: {F79908} {F79907} Reviewers: epriestley, chad, #blessed_reviewers Reviewed By: chad CC: chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7542
This commit is contained in:
parent
a7d39f092b
commit
b87a35c15e
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,14 @@
|
|||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.phabricator-source-code-view tr:first-child * {
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.phabricator-source-code-view tr:last-child * {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.phabricator-source-code {
|
||||
white-space: pre-wrap;
|
||||
padding: 2px 8px 1px;
|
||||
|
|
Loading…
Reference in a new issue