Fix the review request actions bar when empty.

Review Request #7375 — Created June 4, 2015 and submitted

Information

Review Board
release-2.5.x
b857123...

Reviewers

When there was nothing to display in the review request actions bar,
it'd appear as a thin line, which looked horrible. This was because
there wasn't any content on the bar to force the height to anything
reasonable.

We already have a :before style, with no padding or content. This change
updates it to have some content (which is hidden but still takes up
room), and the same padding that the actions themselves have.

Also, I previously swapped the names of two variables (the ones use for
vert and horiz padding on actions). The vert was containing the horiz
padding, and vice-versa. These have been fixed up.

Viewed an interdiff, which has no actions. Saw that the bar was the correct height.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/css/pages/reviews.less
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/css/defs.less
        reviewboard/static/rb/css/pages/reviews.less
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (db38903)
Loading...