mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Swap articles on left & right, to make article list flow better
This commit is contained in:
@@ -18,14 +18,14 @@
|
|||||||
|
|
||||||
/* automatically display articles on either side of the page, alternating */
|
/* automatically display articles on either side of the page, alternating */
|
||||||
.main-content .mdc-card {
|
.main-content .mdc-card {
|
||||||
float: left;
|
float: right;
|
||||||
clear: left;
|
clear: right;
|
||||||
width: calc(50% - 6px);
|
width: calc(50% - 6px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content .mdc-card:nth-of-type(even) {
|
.main-content .mdc-card:nth-of-type(even) {
|
||||||
float: right;
|
float: left;
|
||||||
clear: right;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
|
|
||||||
/* automatically display articles on either side of the page, alternating */
|
/* automatically display articles on either side of the page, alternating */
|
||||||
.main-content .mdc-card {
|
.main-content .mdc-card {
|
||||||
float: left;
|
float: right;
|
||||||
clear: left;
|
clear: right;
|
||||||
width: calc(50% - 6px);
|
width: calc(50% - 6px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content .mdc-card:nth-of-type(even) {
|
.main-content .mdc-card:nth-of-type(even) {
|
||||||
float: right;
|
float: left;
|
||||||
clear: right;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user