From afdba465d1950caf30eb87559755033b542daa8d Mon Sep 17 00:00:00 2001 From: Kris Date: Mon, 10 Feb 2025 18:05:29 -0500 Subject: [PATCH] UX: fix group assigns layout after core change (#631) --- .../discourse/templates/group/assigned.hbs | 1 + assets/stylesheets/assigns.scss | 42 +++++++++++++++++-- assets/stylesheets/mobile/assigns.scss | 20 +++++++++ 3 files changed, 60 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/discourse/templates/group/assigned.hbs b/assets/javascripts/discourse/templates/group/assigned.hbs index 2c8e22f..d30e834 100644 --- a/assets/javascripts/discourse/templates/group/assigned.hbs +++ b/assets/javascripts/discourse/templates/group/assigned.hbs @@ -1,4 +1,5 @@
+ {{body-class "group-assign"}} span { display: flex; @include ellipsis; + .assign-count { display: none; } + .assign-name { margin: 0; padding: 0; } + a { width: 1em; height: 1em; @@ -88,17 +96,29 @@ .group-assignments { min-width: unset; + li > a { .assign-names, .assign-count { font-size: $font-0; } + .assign-image, .assign-name { display: none; } + .assign-username { font-weight: normal; } } } + +.group-assignments .activity-nav { + width: 100%; + margin-top: 1em; +} + +.user-content-wrapper .user-secondary-navigation li a { + width: auto; +}