mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-11-01 17:13:53 +00:00
Swap articles on left & right, to make article list flow better
This commit is contained in:
1 parent
84ec741d05
commit
8ade626530
2 files changed
+8
-8
No files matched your search
@@ -18,14 +18,14 @@
|
||||
|
||||
/* automatically display articles on either side of the page, alternating */
|
||||
.main-content .mdc-card {
|
||||
float: left;
|
||||
clear: left;
|
||||
float: right;
|
||||
clear: right;
|
||||
width: calc(50% - 6px);
|
||||
}
|
||||
|
||||
.main-content .mdc-card:nth-of-type(even) {
|
||||
float: right;
|
||||
clear: right;
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user