Skip to content

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

UX: protection for very wide category-logo images on narrow screens

Joe22f43abb0edb
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index c888928db6f..564a736e4a7 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -42,6 +42,9 @@
}
}
}
+ .category-heading {
+ max-width: 100%;
+ }
}
.topic-list-item.visited,
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index b6c5fb6f6d6..877f8f8c76c 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -210,8 +210,6 @@ button.dismiss-read {
}
.category-heading {
- clear: both;
- max-width: 100%;
p {
line-height: $line-height-large;
font-size: $font-up-3;