mozreview: Space out the "Review state" label and control (
bug 1277907); r?davidwalsh
Having the dropdown squished against the label is not aesthetically
pleasing.
MozReview-Commit-ID: 9BWLyWCRcq3
--- a/pylib/mozreview/mozreview/static/mozreview/js/review_flag.js
+++ b/pylib/mozreview/mozreview/static/mozreview/js/review_flag.js
@@ -16,17 +16,17 @@ MRReviewFlag.View = Backbone.View.extend
/**
* These are the possible states that will be shown in the dropdown,
* in order. These are also the values that will be stored in the
* extraData field.
*/
states: [' ', 'r?', 'r+', 'r-'],
template: _.template([
- '<label for="mr-review-flag">Review state:</label>',
+ '<label for="mr-review-flag">Review state:</label> ',
'<select id="mr-review-flag">',
'<% _(states).each(function(state) { %>',
' <option <% if (state === val) { %> selected <% } %> >',
' <%= state %>',
' </option>',
'<% }); %>',
'</select>'
].join('')),