Bug 1163721 - system page tab nav list is rendered weirdly if the browser min font size is >14px
Summary: system page tab nav list is rendered weirdly if the browser min font size is ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 19.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-13 10:56 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-17 08:40:17 UTC
Embargoed:


Attachments (Terms of Use)
screenshot (51.26 KB, image/png)
2014-11-13 10:56 UTC, Dan Callaghan
no flags Details

Description Dan Callaghan 2014-11-13 10:56:15 UTC
Created attachment 957115 [details]
screenshot

Version-Release number of selected component (if applicable):
19.0rc2

Steps to Reproduce:
1. Use Firefox, update preferences to set a minimum font size of 16px
2. Open the Beaker system page

Actual results:
Weird pokey bit below the triangle portion of the nav list (see screenshot).

Expected results:
Normal triangle.

Additional info:
I discovered today an interesting feature of Firefox. If an element's font size is scaled up from the value requested in CSS (14px for Bootstrap), because of a minimum font size in the user's preferences (16px in my case, due to the high res monitor), Firefox also scales up the requested line-height (20px for Bootstrap) by the same factor. I guess to keep things from looking too squished?

However in the CSS border hack which I used to make the right-pointing triangles in the system tab nav list, the sizes are assumed to match the height of the element, which is assumed to be the line-height (20px).

Comment 1 Dan Callaghan 2014-11-13 11:03:06 UTC
As a workaround we can set a fixed height (rather than just line-height) on the nav list items. It's not great, since it makes things look a bit squished when the text is scaled to 16px as in my browser, but the triangles match up properly then.

http://gerrit.beaker-project.org/3485

Comment 5 Dan Callaghan 2014-12-17 08:40:17 UTC
Beaker 19.1 is released.


Note You need to log in before you can comment on or make changes to this bug.