forked from CGM_Public/pretix_original
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:
committed by
GitHub
parent
81c251208c
commit
763c003487
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user