Closed
Bug 933228
Opened 11 years ago
Closed 11 years ago
Inline flag are way too big with the redesign
Categories
(developer.mozilla.org Graveyard :: Design, defect)
developer.mozilla.org Graveyard
Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Jeremie, Unassigned)
References
Details
Attachments
(2 files)
As you can see in the attach screenshot, the inline flags ("readonly", "DOM Level 3") are very big and break the line spacing rhythm.
Reporter | ||
Comment 1•11 years ago
|
||
I suggest to get rid of the fat border to use a nicer padding (2px 5px) to be more in line with the line spacing.
Comment 2•11 years ago
|
||
How about setting the border-width to 2px instead? I think that looks great.
Comment 3•11 years ago
|
||
Jeremie, did you see this when viewing the redesigned MDN pages, or on the regular site? Do you have a link to the page that originally displayed the problem? It would make testing the fix much easier.
Flags: needinfo?(jeremie.patonnier)
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to David Walsh :davidwalsh from comment #2) > How about setting the border-width to 2px instead? I think that looks great. Yes, that's a possible solution. (In reply to Māris Fogels [:mars] from comment #3) > Jeremie, did you see this when viewing the redesigned MDN pages, or on the > regular site? I thought the bug title was obvious, it's with the redesign :) > Do you have a link to the page that originally displayed the problem? Absolutely, my mistake: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent
Flags: needinfo?(jeremie.patonnier)
Comment 5•11 years ago
|
||
(In reply to Jeremie Patonnier :Jeremie from comment #4) > (In reply to Māris Fogels [:mars] from comment #3) > > Jeremie, did you see this when viewing the redesigned MDN pages, or on the > > regular site? > > I thought the bug title was obvious, it's with the redesign :) > Ah, the red headers in the screenshot threw me. I usually look for redesign bugs that block bug 910513 - we even have a link that automatically files them as blockers: http://mzl.la/mdn-redesign-feedback. > > Do you have a link to the page that originally displayed the problem? > > Absolutely, my mistake: > https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent Thanks!
Blocks: 910513
Comment 6•11 years ago
|
||
I think here we would like to have the badges have the same look as the small badges in the spec table (that is a border only to the right [and likely left in rtl]). David, can you provide us with a class or update the customCSS with that?
Flags: needinfo?(dwalsh)
Comment 7•11 years ago
|
||
I made the font smaller and crunched the border. Let me know if you like that. Otherwise I can do as Jean-Yves last asked and make it look like the table badges.
Flags: needinfo?(dwalsh)
Updated•11 years ago
|
Summary: Inline flag are way to big with the redesign → Inline flag are way too big with the redesign
Reporter | ||
Comment 8•11 years ago
|
||
(In reply to David Walsh :davidwalsh from comment #7) > I made the font smaller and crunched the border. Let me know if you like > that. Otherwise I can do as Jean-Yves last asked and make it look like the > table badges. I like the idea to have something coherent between spec table and inline flag. It worth asking Sean about this.
Flags: needinfo?(smartell)
Updated•11 years ago
|
Comment 9•11 years ago
|
||
Updated on prod with rounded solution proposed above. Let me know if you'd like adjustments.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•