From 85dc24d6b58d1b16e6d225ae710633dc20c34d08 Mon Sep 17 00:00:00 2001 From: Kris Date: Mon, 29 Jan 2024 11:05:26 -0500 Subject: [PATCH] UX: default mobile /categories styles (#41) --- mobile/mobile.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mobile/mobile.scss b/mobile/mobile.scss index d93de10..d0c0bce 100644 --- a/mobile/mobile.scss +++ b/mobile/mobile.scss @@ -182,3 +182,21 @@ ol.category-breadcrumb { .topic-list .topic-list-item .topic-list-data { padding: 15px; } + +// default category list styles when the modern category boxes theme component isn't used + +.category-list-item.category { + background: var(--secondary); + border-radius: 1em; + tbody { + display: flex; + flex-direction: column; + width: 100%; + } + td { + width: 100%; + } + .num.posts { + padding-right: 0.25em; + } +}