Skip to content
Snippets Groups Projects
Commit 1eb019b4 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Richard Haeser
Browse files

[BUGFIX] Set active class on link of initially active tab

Since bootstrap 5 an active tab is highlighted by setting the
`.active` class on the tab item link (`.nav-link`) instead of
the tab item (`.nav-item`) itself.

Therefore, this must also be done in templates defining the
initially active tab item, which is usually just the first one.

See: https://getbootstrap.com/docs/5.0/components/navs-tabs/#fill-and-justify

Resolves: #93763
Releases: master
Change-Id: I56f7024a3b4d7f62e01e8dc9e25d508203359366
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68471


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
parent 742b60c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment