Empty subtitle elements should not have margin
I considered not outputting the subtitle, but the PHP mustaching templating library requires truthy values and that seemed like overkill Bug: T217197 Change-Id: I3ebe550bad8b5eb0f24d742261ea696950c91a59
This commit is contained in:
parent
8c3fe30ea1
commit
64896669e2
|
@ -324,6 +324,10 @@ input.search {
|
||||||
.minerva__subtitle {
|
.minerva__subtitle {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
&:empty {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and ( min-width: @width-breakpoint-tablet ) {
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
||||||
|
|
Loading…
Reference in New Issue