Fix alignment of checkout success message (Z#2399724)

When a customized checkout_success_text is used, that has other elements than `<p>`, the alignment was off. This fixes the alignment for all types of elements, that are a direct child of the thank-you-element `.thank-you > *`.
This commit is contained in:
Richard Schreiber
2022-05-24 10:04:12 +02:00
committed by GitHub
parent 81c251208c
commit 763c003487
3 changed files with 8 additions and 6 deletions

View File

@@ -569,16 +569,17 @@ td > .dl-horizontal {
width: 70%; width: 70%;
margin: auto; margin: auto;
.fa { & > .fa {
float: left; float: left;
margin-right: 30px; margin-right: 30px;
margin-left: 0;
} }
h2 { h2 {
padding-top: 25px; padding-top: 25px;
} }
p { & > * {
margin-left: 158px; margin-left: 158px;
} }
} }

View File

@@ -30,12 +30,12 @@ html.rtl {
padding-right: 20px; padding-right: 20px;
padding-left: 0; padding-left: 0;
} }
.thank-you .fa { .thank-you > .fa {
float: right; float: right;
margin-left: 30px; margin-left: 30px;
margin-right: 0; margin-right: 0;
} }
.thank-you p { .thank-you > * {
margin-right: 158px; margin-right: 158px;
margin-left: 0; margin-left: 0;
} }

View File

@@ -290,16 +290,17 @@ body.loading .container {
margin-right: auto; margin-right: auto;
margin-bottom: 3em; margin-bottom: 3em;
.fa { & > .fa {
float: left; float: left;
margin-right: 30px; margin-right: 30px;
margin-left: 0;
} }
h2 { h2 {
padding-top: 35px; padding-top: 35px;
} }
p { & > * {
margin-left: 158px; margin-left: 158px;
} }
} }