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:
@@ -8,6 +8,14 @@
|
|||||||
overflow-y: hidden;
|
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 {
|
.phabricator-source-code {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
padding: 2px 8px 1px;
|
padding: 2px 8px 1px;
|
||||||
|
|||||||
Reference in New Issue
Block a user