Commit 07ecd7c1 authored by Jonas Eberle's avatar Jonas Eberle Committed by Benni Mack
Browse files

[BUGFIX] Fix #modulemenu collapsed state on Firefox

Due to different handling of scrollbar positioning and layouting in
user agents (most use the operating system's graphics stack to show
scrollbars, Chrome its own) it could happen that the modulebar icons
were shown partially only.

It should not be relied on the width of scrollbars and if they affect
the user agent's box model or not.

In our case an inner element was pixel-perfectly relying on parent
elements' box sizes since #93353.

This dependency has been removed for the collapsed state.

Resolves: #94633
Releases: master
Change-Id: Ic573ade55af461935f0cada80a98bf3aaaf9a9c1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70066

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent a47d774a
......@@ -33,7 +33,6 @@
margin-top: 1px;
color: inherit;
align-items: center;
width: 100%;
overflow: hidden;
border: none;
border-radius: 3px;
......@@ -174,6 +173,7 @@ button[aria-expanded="true"]:not(:disabled) {
.scaffold-modulemenu-expanded {
.modulemenu-action {
margin-left: 0;
width: 100%;
}
.modulemenu-indicator {
......
Markdown is supported
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