Skip to content

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

UX: use default H2 and H3 sizes on user profiles for better hierarchy

Kris4a01fee41beb
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index a7ac6f0b95f..1379f9f8809 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -86,9 +86,7 @@
}
h2 {
- font-size: $font-up-2;
font-weight: normal;
- margin-top: 10px;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
@@ -97,9 +95,7 @@
h3 {
font-weight: normal;
- font-size: $font-0;
- margin: 5px 0;
-
+ margin-bottom: 0.5em;
.d-icon:not(:first-of-type) {
margin-left: 10px;
}