Cross-selling: Use different label if there are no add-on products (#4577)

* Cross-selling: Use different label if there are no add-on products

* Update src/pretix/presale/templates/pretixpresale/event/checkout_addons.html

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Fix a11y problem

* Fix headline order

---------

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2024-10-29 09:53:36 +01:00
committed by GitHub
parent d97c983b6f
commit 0aa9dda90a
4 changed files with 33 additions and 19 deletions

View File

@@ -102,15 +102,16 @@
}
}
}
.cross-selling .panel-body h3 {
.cross-selling .panel-body h3, .cross-selling .panel-body .h3 {
font-size: 21px;
line-height: inherit;
margin-top: 20px;
}
.cross-selling .panel-body > *:first-child > h3:first-child {
.cross-selling .panel-body > *:first-child > h3:first-child,
.cross-selling .panel-body > *:first-child > .h3:first-child {
margin-top: 0;
}
.cross-selling .panel-body h3 small {
.cross-selling .panel-body h3 small, .cross-selling .panel-body .h3 small {
padding-left: 20px;
}

View File

@@ -53,7 +53,7 @@
&.variation label {
font-weight: normal;
}
h4 {
h4, .h4 {
font-size: inherit;
margin: 0;
line-height: inherit;
@@ -62,7 +62,7 @@
font-weight: bold;
}
}
h5 {
h5, .h5 {
font-size: inherit;
font-weight: inherit;
margin: 0;