From 667f0378c256ebcca1a124b6fded389d2b99f5c7 Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Fri, 9 Aug 2024 15:45:49 -0700 Subject: [PATCH] if lg members or subgroups is empty, add css class and remove padding --- packages/frontend/app/components/learner-group/members.hbs | 2 +- packages/frontend/app/components/learner-group/root.hbs | 2 +- packages/frontend/app/styles/components/programs/list.scss | 4 ++++ .../app/styles/ilios-common/mixins/detail-container.scss | 5 +++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/frontend/app/components/learner-group/members.hbs b/packages/frontend/app/components/learner-group/members.hbs index 9e4ac4c77e..ec970f7f51 100644 --- a/packages/frontend/app/components/learner-group/members.hbs +++ b/packages/frontend/app/components/learner-group/members.hbs @@ -1,6 +1,6 @@ {{#let (unique-id) as |templateId|}}
{{#if this.usersInGroup.length}} diff --git a/packages/frontend/app/components/learner-group/root.hbs b/packages/frontend/app/components/learner-group/root.hbs index 083452dc98..d646a63a7d 100644 --- a/packages/frontend/app/components/learner-group/root.hbs +++ b/packages/frontend/app/components/learner-group/root.hbs @@ -241,7 +241,7 @@
{{/if}} -
+
{{#if @learnerGroup.childrenCount}}