Page MenuHomePhabricator

Add some light padding to code views.
ClosedPublic

Authored by asherkin on Nov 9 2013, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 2:28 PM
Unknown Object (File)
Mon, Dec 16, 1:00 AM
Unknown Object (File)
Fri, Dec 6, 1:25 PM
Unknown Object (File)
Wed, Dec 4, 12:19 PM
Unknown Object (File)
Wed, Dec 4, 12:19 PM
Unknown Object (File)
Wed, Dec 4, 12:19 PM
Unknown Object (File)
Wed, Dec 4, 12:19 PM
Unknown Object (File)
Wed, Dec 4, 12:12 PM

Details

Reviewers
epriestley
chad
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPb87a35c15e4e: 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}

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Need to special-case differential.

asherkin updated this revision to Unknown Object (????).Nov 9 2013, 4:38 AM

Just target the general source code view (Paste, Harbormaster build output), Differential is too special.

This looks good to me, but I'll defer to @chad.

Why not also differential?

The CSS rules / code changes required to do it would get rather complicated, and I figured it would be saner to tackle after T2004.
Paste was the big one that needed this change, Differential already has lots of neutral space around it.

@asherkin, I gave you commit access since you seem not-that-untrustworthy:

  • Add a public SSH key in Settings > SSH Public Keys
  • Run git remote set-url origin dweller@secure.phabricator.com:diffusion/P/ in phabricator/ to move origin to the new self-hosted master.
  • arc land