Skip to content
Snippets Groups Projects
Commit 34229ddb authored by Stefan Bürk's avatar Stefan Bürk
Browse files

[BUGFIX] Restore module menu collapse behaviour

With the removal of the Font Awesome icon provider in #98089 the
corresponding scss/css styling definition for the module name
has been removed. This made it impossible to fully collapse the
module menu to icons and to a smaller size.

Bootstrap 5 replaced `.sr-only` with `.visually-hidden`. However,
this does not work for the module menu as the menu entry names
are hidden in expanded mode, thus making this a non-usable
option.
See: https://getbootstrap.com/docs/5.0/migration/#helpers
and: https://getbootstrap.com/docs/5.0/helpers/visually-hidden/

This patch re-adds scss/css styling directly for the module
menu without using the `@sr-only` or the new `.visually-hidden`
definition from bootstrap to restore the module menu collapse
behaviour.

Used commands:

> Build/Scripts/runTests.sh -s clean
> Build/Scripts/runTests.sh -s buildCss

Resolves: #98138
Related: #98089
Releases: main
Change-Id: I200e9a5324be93fdc5119c956cfe432a1ecbc81d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75436


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent ed88670c
Branches
Tags
No related merge requests found
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