1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02: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:
Asher Baker 2013-11-23 02:37:39 +00:00
parent a7d39f092b
commit b87a35c15e

View file

@ -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;