Skip to content

A platform for community discussion. Free, open, simple.

UX: styling tweaks to unified new nav (#35670)

chapoibd4e34ec0460
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index ed2b8c8eb7f..4d34384550e 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -285,6 +285,7 @@
line-height: var(--line-height-large);
padding: var(--space-2);
position: relative;
+ font-size: var(--font-down-1-rem);
&.active {
@include nav-active;
diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss
index eb8bcc784be..f95bce96bcc 100644
--- a/app/assets/stylesheets/mobile/topic-list.scss
+++ b/app/assets/stylesheets/mobile/topic-list.scss
@@ -8,6 +8,10 @@
.topic-list {
&-body {
border-width: 1px;
+
+ body:has(.topic-replies-toggle-wrapper) & {
+ border-width: 0;
+ }
}
.num.posts-map {
@@ -493,6 +497,7 @@ td .main-link {
}
.topic-replies-toggle-wrapper {
+ border-bottom: 0.15em solid var(--primary-low);
width: 100%;
display: flex;
justify-content: center;