Closed
Bug 1366143
Opened 7 years ago
Closed 6 years ago
Fix alignment of select boxes
Categories
(bugzilla.mozilla.org Graveyard :: Sandstone/Mozilla Skin, defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dylan, Assigned: kohei)
References
Details
Attachments
(7 files, 4 obsolete files)
Smaug reported that the Mozilla Skin has a glitch in the height of select and input items which is particularly notable when setting review flags. This is partly due to padding added to input items (which I think is unattractive anyway), and different font sizes.
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Pushing this change up to dev for a review across browsers. I think it looks better in all browsers on OSX and Windows, but not better in Linux. I think possibly we might want to use a CSS reset but that is probably more work. :-/
Reporter | ||
Updated•7 years ago
|
Attachment #8869300 -
Flags: review?(glob)
Reporter | ||
Comment 3•7 years ago
|
||
After a lot of looking, I think it's better on linux. It's just not perfect there.
Comment on attachment 8869300 [details] [diff] [review] 1366143_1.patch Review of attachment 8869300 [details] [diff] [review]: ----------------------------------------------------------------- if you're asking if i think it looks better, my answer is no. i think because of the styling (box-shadow, border-radius, etc) there is a need for extra padding, and it looks way too tight without it. 2px padding is the smallest value where it feels right to me. will attach comparison screenshots.
oops, padding-2 didn't have box-shadows.
Attachment #8871150 -
Attachment is obsolete: true
Reporter | ||
Comment 9•7 years ago
|
||
The padding is problematic when trying to make select and input boxes the same height. The real issue is the different font sizes.
Reporter | ||
Updated•7 years ago
|
Summary: Fix height of select boxes and text fields → Fix alignment of select boxes
Reporter | ||
Comment 10•7 years ago
|
||
The focus of this patch is alignment, so I have not shrunk the size of inputs. I have enlarged the padding on select elements and changed their box-sizing and font-size to be consistent (the existing CSS inconsistently styles select and select[multiple]. The biggest change is the removal of vertical-align: top
Attachment #8869300 -
Attachment is obsolete: true
Attachment #8869300 -
Flags: review?(glob)
Attachment #8871421 -
Flags: review?(glob)
Priority: -- → P1
Reporter | ||
Comment 11•7 years ago
|
||
Attachment #8871421 -
Attachment is obsolete: true
Attachment #8871421 -
Flags: review?(glob)
Assignee | ||
Comment 12•7 years ago
|
||
So as mentioned in the PR, I tried the CSS appearance:none solution. Tested with various browsers including Firefox, Firefox ESR, Chrome, Safari, IE, Edge on Windows, macOS, Ubuntu and it all looks good. Attaching a screenshot on Firefox. PR coming shortly.
Assignee: dylan → kohei.yoshino
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•7 years ago
|
||
Assignee | ||
Comment 14•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8885953 -
Attachment description: screenshot w/ appearance:none technique → screenshot w/ appearance:none technique, advanced search page
Reporter | ||
Updated•7 years ago
|
Attachment #8885791 -
Attachment is obsolete: true
Assignee | ||
Comment 15•7 years ago
|
||
The long term solution I believe is using custom elements (Bug 889230) to provide a better, consistent UX. For example, the product and component dropdown list should have a filtering option like GitHub issue's reviewer/assignee selector. Firefox will be implementing this natively (Bug 1309935) but other browsers don't have it for now.
Reporter | ||
Updated•7 years ago
|
Attachment #8885956 -
Flags: review+
Reporter | ||
Comment 16•7 years ago
|
||
This is a clear improvement in most cases.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•7 years ago
|
||
This caused breakage on enter_bug.cgi (and some others)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 18•6 years ago
|
||
I'm bulk-closing the remaining Sandstone skin bugs. Sandstone is no longer Mozilla's default style, and I'll be creating a new style guide for Bugzilla soon in Bug 1377977.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•