fix(frontend): sync persisted card rendering
This commit is contained in:
1 parent
e745b2e54b
commit
51c7feac39
3 files changed
+44
-16
No files matched your search
@@ -61,10 +61,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Card mode: 2 columns */
|
||||
.aksrt-homepage__posts[data-view="card"] > .posts-item {
|
||||
width: calc(50% - 16px);
|
||||
}
|
||||
}
|
||||
|
||||
/* ================================================================
|
||||
@@ -102,7 +98,11 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Card mode: 2 columns (match Zibll) */
|
||||
/* Zibll keeps article cards in two columns throughout the mobile range. */
|
||||
.aksrt-homepage__posts[data-view="card"] {
|
||||
margin: -5px;
|
||||
}
|
||||
|
||||
.aksrt-homepage__posts[data-view="card"] > .posts-item {
|
||||
width: calc(50% - 10px);
|
||||
margin: 5px;
|
||||
@@ -196,16 +196,6 @@
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Card mode: single column */
|
||||
.aksrt-homepage__posts[data-view="card"] {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aksrt-homepage__posts[data-view="card"] > .posts-item {
|
||||
width: 100%;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
/* Tab skeleton: adapt */
|
||||
.aksrt-homepage__tab-skeleton-thumb {
|
||||
width: 96px;
|
||||
|
||||
Reference in new issue
Block a user