-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default admin theme: tab appearance in Chrome #1875
Comments
The same happens on Chrome for Mac. |
I noticed the issue just popped up one day without any changes to the core, so it seems to be due to a change in the webkit engine. The problem with setting a height on .WireTabs is that it breaks the tabs when they need to occupy two lines. For instance, try going to the template editor and then collapsing the width of your screen. So far I've not found a solution, but let me know if there's anything else you can think of. |
Actually it looks like changing the $tabs-height var in _vars.scss to 2.6em rather than 2.5em might resolve it. I'm guessing that messes it up in other browsers, but going to test further. |
Do you mean when the tabs switch appearance to be buttons? This happens at a device width breakpoint so you would just disable the 2.5em height rule at that breakpoint. |
No it's not a breakpoint. Can't be done with a breakpoint because the only On Sun, Jun 12, 2016 at 6:31 AM, Toutouwai notifications@github.com wrote:
|
Ah, good point.
Works in Windows Chrome. |
This is tricky and not done very solid, even though there's no real solid solution. I looked into it and tested in various browsers (browserstack) It all comes down to how you set the elements and paddings etc. Currently there's padding and a fixed height, once you take out the height you see that the padding is stretching more than the height is set. The problem with the height on the a element is also this, when the text inside would wrap: Also when zooming the page most often the line shows again, mostly when making it smaller. I figured removing the height and changing the padding does fix most of the problem and it still works on all browsers. And some other minor tweaks too. Attached the modified _wiretabs.scss
|
A minor styling issue...
In Chrome (Windows), the appearance of the 'WireTabs' in the admin theme is not quite right.
I use the following fix in the AdminCustomFiles module:
The text was updated successfully, but these errors were encountered: