-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduce padding on LG members/subgroups when none have been added #8061
reduce padding on LG members/subgroups when none have been added #8061
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it. The change exposes an issue in our styles that I messed up 3 years ago which needs to get fixed. Sorry.
@@ -2,4 +2,8 @@ | |||
|
|||
.list { | |||
@include m.main-list-box-table; | |||
|
|||
&.empty { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You put this in the right place to work, but this style is coming from the wrong file.
It's outside the scope of this PR but this programs/list.scss
style should be scoped down to only target the program list and not every .list
in the application (everything should be under a .programs-list{
class). Can you make that change here or circle back and make a PR just to do that and then re-do the style in this one? It will also require creating a component style for the learner group list (and possibly other lists which are also accidentally replying on this style).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's chat about this at our next meeting.
667f037
to
9c77536
Compare
@jrjohnson Hoo boy. Trying fix the change requested led me down a rabbit hole of components and styles and mixins. I think I was able to put on the brakes and just fix the things requested, but I may have threw in something that was needed, even if a bit out of scope for this task. The real fix would take much longer and will have to wait. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was worried it would be one of those things, this looks great now. Thanks for taking the extra step.
Fixes ilios/ilios#5633