Skip to content

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

DEV: Fix `mixed-decls` in mobile user-card scss (#31418)

Jarek Radosza26138b501f1
diff --git a/app/assets/stylesheets/mobile/components/user-card.scss b/app/assets/stylesheets/mobile/components/user-card.scss
index afca6c1201f..13ee216820a 100644
--- a/app/assets/stylesheets/mobile/components/user-card.scss
+++ b/app/assets/stylesheets/mobile/components/user-card.scss
@@ -105,11 +105,12 @@
}
.public-user-fields {
+ max-height: 40vh;
+ overflow-y: auto;
+
@media screen and (max-height: 550px) {
max-height: 12vh;
}
- max-height: 40vh;
- overflow-y: auto;
.public-user-field {
@include line-clamp(3);