NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
31 Jan 2021

Apply pr and rebuild css with npm i and test the TWO issues

Before

before

After

after

Before

image

After

image

avatar brianteeman brianteeman - open - 31 Jan 2021
avatar brianteeman brianteeman - change - 31 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2021
Category Administration Templates (admin) NPM Change
avatar brianteeman brianteeman - change - 31 Jan 2021
Labels Added: NPM Resource Changed ?
avatar brianteeman brianteeman - change - 31 Jan 2021
The description was changed
avatar brianteeman brianteeman - edited - 31 Jan 2021
avatar brianteeman brianteeman - change - 31 Jan 2021
Title
[4.0] Stop tabs shifting
[4.0] Stop tabs shifting and fix contrast issue
avatar brianteeman brianteeman - edited - 31 Jan 2021
d7ca675 31 Jan 2021 avatar brianteeman cs
avatar wilsonge
wilsonge - comment - 31 Jan 2021

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.

avatar brianteeman
brianteeman - comment - 31 Jan 2021

Its not as noticable on the vertical ;)

avatar wilsonge
wilsonge - comment - 31 Jan 2021

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

avatar wilsonge
wilsonge - comment - 31 Jan 2021

Its not as noticable on the vertical ;)

@Quy pointed it out on the original PR - I can't get anything past him :D

avatar brianteeman
brianteeman - comment - 31 Jan 2021

the margin is needed due to the thickness of the border iirc

avatar wilsonge
wilsonge - comment - 31 Jan 2021

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?

avatar brianteeman
brianteeman - comment - 31 Jan 2021

border-top is 2px
border left and right is 1px

So the correct fix is to change border-top on vertical to 1px

avatar brianteeman
brianteeman - comment - 31 Jan 2021

almost but not quite. I have it working on everything but when it is active AND hover

Will look again tomorrow sometime

avatar brianteeman brianteeman - change - 1 Feb 2021
The description was changed
avatar brianteeman brianteeman - edited - 1 Feb 2021
avatar brianteeman brianteeman - change - 1 Feb 2021
The description was changed
avatar brianteeman brianteeman - edited - 1 Feb 2021
avatar brianteeman
brianteeman - comment - 1 Feb 2021

@wilsonge should be ok for both horizontal AND vertical now

avatar richard67
richard67 - comment - 1 Feb 2021
c004269 1 Feb 2021 avatar brianteeman cs
avatar wilsonge wilsonge - close - 2 Feb 2021
avatar wilsonge wilsonge - merge - 2 Feb 2021
avatar wilsonge wilsonge - change - 2 Feb 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-02 00:59:13
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 2 Feb 2021

Tested this locally and can confirm it works. Merging for tomorrow's beta.

avatar brianteeman
brianteeman - comment - 2 Feb 2021

Thanks.

Add a Comment

Login with GitHub to post a comment