forked from CGM_Public/pretix_original
Fix info-row img not being scaled correctly (#5173)
* Fix info-row img not being scaled correctly * improve centering when fully colored img-icon is used
This commit is contained in:
committed by
GitHub
parent
5fb1fc23ce
commit
72b39932b7
@@ -295,18 +295,21 @@ a:hover .panel-primary > .panel-heading {
|
||||
min-height: 30px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.info-row-icon {
|
||||
.info-row-icon,
|
||||
& > img {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
top: -6px;
|
||||
left: 3px;
|
||||
font-size: 26px;
|
||||
text-align: center;
|
||||
color: $brand-primary;
|
||||
margin-top: 3px;
|
||||
width: 26px;
|
||||
height: auto;
|
||||
.fa {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.info-row-icon .fa {
|
||||
vertical-align: top;
|
||||
width: auto;
|
||||
}
|
||||
p {
|
||||
margin-left: 40px;
|
||||
|
||||
Reference in New Issue
Block a user