Skip to content

Commit 85dc24d

Browse files
authored
UX: default mobile /categories styles (#41)
1 parent b9d4474 commit 85dc24d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

mobile/mobile.scss

+18
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,21 @@ ol.category-breadcrumb {
182182
.topic-list .topic-list-item .topic-list-data {
183183
padding: 15px;
184184
}
185+
186+
// default category list styles when the modern category boxes theme component isn't used
187+
188+
.category-list-item.category {
189+
background: var(--secondary);
190+
border-radius: 1em;
191+
tbody {
192+
display: flex;
193+
flex-direction: column;
194+
width: 100%;
195+
}
196+
td {
197+
width: 100%;
198+
}
199+
.num.posts {
200+
padding-right: 0.25em;
201+
}
202+
}

0 commit comments

Comments
 (0)