User tests: Successful: Unsuccessful:
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) NPM Change |
Labels |
Added:
NPM Resource Changed
?
|
Title |
|
Its not as noticable on the vertical ;)
Adding margin: -0.5px
to line 147 https://github.com/joomla/joomla-cms/pull/32225/files#diff-d250836f7da8e2204b9426a82d83049c1d94f8a8e359ac5b7efac2603b93fd0cL147 (i.e. above the color definition currently on that line) seems to fix the vertical tab issue. But I'm sure there must be some higher reason why horizontal tabs need -1px margin and vertical tabs only -0.5px from the bs4 move
the margin is needed due to the thickness of the border iirc
The extra border is common to both elements both. maybe just not noticeable as a 0.5px gap on hovered horizontal tabs as it doesn't shift the content beneath it?
border-top is 2px
border left and right is 1px
So the correct fix is to change border-top on vertical to 1px
almost but not quite. I have it working on everything but when it is active AND hover
Will look again tomorrow sometime
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-02 00:59:13 |
Closed_By | ⇒ | wilsonge |
Tested this locally and can confirm it works. Merging for tomorrow's beta.
Thanks.
I'd made this change on the original BS5 branch because it fixed the vertical tabs spacing. Now when you hover over the vertical tabs (e.g. the user groups on the permissions form field) you get a vertical padding tweak. This PR is probably right as it's the original behaviour - but we need to figure out where the the extra spacing comes from on the vertical tabs before we can merge otherwise it just moves the fix from one place to another.