Restrict width of category heading to prevent mobile overflow

Restrict width of category heading to prevent mobile overflow

From e0aac7560703d9fb158b29b539fcc64466892b66 Mon Sep 17 00:00:00 2001
From: Kris <kris.aubuchon@discourse.org>
Date: Tue, 4 Dec 2018 19:01:27 -0500
Subject: [PATCH] Restrict width of category heading to prevent mobile overflow


diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 48f0218..4608244 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -211,6 +211,7 @@ button.dismiss-read {
 
 .category-heading {
   clear: both;
+  max-width: 100%;
   p {
     line-height: $line-height-large;
     font-size: $font-up-3;

GitHub

1 Like

As seen here https://meta.discourse.org/t/asana-pull-list-of-users-who-interacted-on-a-thread/101916/31?u=awesomerobot

1 Like