-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix odd appearance of tabs in Photon theme #2960
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ef0e87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piroor I wanted to make sure this worked, but when I tried manually using this change as part of my TST CSS I still don't see the bottom border.
5ef0e87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks required. (Please remind that it should be removed after a new version of TST is released.)
5ef0e87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks much better, but there is still one very strange visual artifact. It looks like every three or four tabs, The top of the bottom tab doesn't align with the tab above it and actually is drawn one pixel above were it should be. (I did have to add
z-index: 999;
on the active tab in order for the white board to show which I think is reasonable.)This is a clean profile with only this CSS. The only other change I made was to make layout.css.devPixelsPerPx = 1.5 so I could see the formatting better when trying to get all my CSS to work.
So, I reset that value back to 1.0 and their artifacts went away. There must be an issue with how they scale UI elements.
Thanks for the help, I will remove these changes when the next version is ready to go.
5ef0e87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, layout.css.devPixelsPerPx looks to be applied to margin and border-width in different way.

On my environment, 1px border is rendered as 0.666667px (it is 1 device pixel) border but -1px margin-bottom is applied as -1px...