← All changes
|
src/DonationForms/resources/styles/components/_receipt.scss
+8
-5
4.15.2
→
4.18.0
View file →
| @@ -303,9 +303,8 @@ | ||
| 303 | 303 | } |
| 304 | 304 | |
| 305 | 305 | &-heading, &-heading * { |
| 306 | 306 | position: relative; |
| 307 | - margin-block-end: 1rem; | |
| 308 | 307 | font-size: 1.75rem; |
| 309 | 308 | font-weight: 600; |
| 310 | 309 | line-height: 1.2; |
| 311 | 310 | text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15); |
| @@ -313,9 +312,17 @@ | ||
| 313 | 312 | |
| 314 | 313 | > * { |
| 315 | 314 | color: currentColor; |
| 316 | 315 | } |
| 316 | + } | |
| 317 | 317 | |
| 318 | + &-heading { | |
| 319 | + margin-block-end: 1rem; | |
| 320 | + | |
| 321 | + > br { | |
| 322 | + display: none; | |
| 323 | + } | |
| 324 | + | |
| 318 | 325 | &:not(:empty)::after { |
| 319 | 326 | position: absolute; |
| 320 | 327 | content: ''; |
| 321 | 328 | display: block; |
| @@ -326,12 +333,8 @@ | ||
| 326 | 333 | inset-inline-start: 50%; |
| 327 | 334 | inset-block-start: calc(100% + 1.25rem); |
| 328 | 335 | transform: translate(-50%); |
| 329 | 336 | } |
| 330 | - } | |
| 331 | - | |
| 332 | - &-heading:has(*) { | |
| 333 | - margin-block-end: 0; | |
| 334 | 337 | } |
| 335 | 338 | |
| 336 | 339 | &-description, &-description * { |
| 337 | 340 | font-size:1.125rem; |