A fix for a quirk of odd-numbered widgets in Rockfield (#6332)
This commit is contained in:
parent
f7adca9a46
commit
975ec26b33
3 changed files with 9 additions and 6 deletions
|
@ -617,16 +617,17 @@ table,
|
|||
}
|
||||
|
||||
@include media(laptop) {
|
||||
column-gap: #{map-deep-get($config-global, "spacing", "horizontal")};
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
& > *:nth-child(2) {
|
||||
& > *:nth-child(n + 2) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.widget {
|
||||
width: calc(50% - #{map-deep-get($config-global, "spacing", "horizontal")});
|
||||
flex: calc(50% - #{map-deep-get($config-global, "spacing", "horizontal")});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4629,15 +4629,16 @@ table th,
|
|||
|
||||
@media only screen and (min-width: 782px) {
|
||||
.widget-area {
|
||||
column-gap: 16px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.widget-area > *:nth-child(2) {
|
||||
.widget-area > *:nth-child(n + 2) {
|
||||
margin-top: 0;
|
||||
}
|
||||
.widget-area .widget {
|
||||
width: calc(50% - 16px);
|
||||
flex: calc(50% - 16px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4658,15 +4658,16 @@ table th,
|
|||
|
||||
@media only screen and (min-width: 782px) {
|
||||
.widget-area {
|
||||
column-gap: 16px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.widget-area > *:nth-child(2) {
|
||||
.widget-area > *:nth-child(n + 2) {
|
||||
margin-top: 0;
|
||||
}
|
||||
.widget-area .widget {
|
||||
width: calc(50% - 16px);
|
||||
flex: calc(50% - 16px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue