Fix some style-related issue with the Markdown links and fields.

Review Request #6468 — Created Oct. 19, 2014 and submitted

Information

Review Board
release-2.0.x
a7922e2...

Reviewers

The Markdown reference links were just a bit too high up, which was
more noticeable now that we have a checkbox. This fixes them to be
better aligned.

Plain text fields were also getting a minimum height when they shouldn't
have, due to the way we checked for the presence of a minHeight option.
This resulted in the minHeight being set to the default of 70 when 0 was
passed. We now check for the existence by comparing to undefined.

Checked the Markdown Reference links on all fields and in the comment
dialog. Saw that it was properly positioned everywhere.

Opened a plain text field with only one line of text and saw that it
had the proper height, matching what the Markdown equivalent had.

reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/ui/views/textEditorView.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/ui/views/textEditorView.js
    
    
  2. 
      
david
  1. Typos in summary: "thm", "pssed".

    Also, what's with the empty textEditorView.js file?

    1. No clue.

    2. I think it has to do with having renamed the file in a parent diff, or something? I'll update this when the parent changes are all in.

  2. 
      
chipx86
reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/ui/views/textEditorView.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/js/ui/views/textEditorView.js
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to markdown-redesign (33566a7)