在 user-home.css 里给文章 tab 加了桌面端双列网格
This commit is contained in:
1 parent
c8339feddb
commit
0d86e12d69
2 files changed
+17
-8
No files matched your search
@@ -399,14 +399,20 @@
|
||||
animation: panel-fade-in 0.25s ease;
|
||||
}
|
||||
|
||||
/* Public author posts follow legacy's full-width, two-column list. */
|
||||
@media (min-width: 992px) {
|
||||
/* Public author posts follow Zibll's single-column author-tab list
|
||||
* (zibll css/main.css: .author-tab .posts-item / .author-tab .no_margin:first-of-type). */
|
||||
.aksrt-user-home #panel-posts .aksrt-user-home__post-list .posts-item {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-user-home #panel-posts .aksrt-user-home__post-list .no_margin:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-user-home #panel-posts .aksrt-user-home__post-list .posts-item {
|
||||
display: inline-flex;
|
||||
width: calc(50% - 16px);
|
||||
margin: 8px;
|
||||
border-radius: var(--main-radius, 8px);
|
||||
vertical-align: top;
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user