Skip to content

Commit 2749a5e

Browse files
committed
fix(theme): Button-Layout responsive optimiert
- Buttons passen sich der Textlänge an - Desktop: flex: 1 für gleichmäßige Verteilung ohne festes min-width - Mobile: width: 100% für volle Breite untereinander - white-space: nowrap verhindert Zeilenumbruch im Button-Text - Version 5.1.4
1 parent 7c167d0 commit 2749a5e

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Version 5.2.0 - unreleased
44

5+
## Version 5.1.4 - 18.12.2025
6+
7+
### 🐛 Bugfixes
8+
9+
* **Button-Layout responsive optimiert**: Buttons passen sich jetzt der Textlänge an und nutzen auf Desktop `flex: 1` für gleichmäßige Verteilung
10+
11+
---
12+
513
## Version 5.1.3 - 18.12.2025
614

715
### 🐛 Bugfixes

lib/Theme.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,10 +806,11 @@ public static function generateA11yThemeScss(string $base, string $name, string
806806
button.consent_manager-save-selection,
807807
button.consent_manager-accept-all,
808808
button.consent_manager-accept-none {
809-
display: inline-block;
810-
margin: 0;
811-
width: auto;
812-
min-width: $buttonMinWidth;
809+
display: inline-block !important;
810+
margin: 0 !important;
811+
width: auto !important;
812+
min-width: auto !important;
813+
flex: 1 !important;
813814
}
814815
815816
div.consent_manager-sitelinks {

package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package: consent_manager
2-
version: "5.1.3"
2+
version: "5.1.4"
33
author: "Friends Of REDAXO"
44
supportpage: https://redaxo.org/support/community/#slack
55

0 commit comments

Comments
 (0)