-
Notifications
You must be signed in to change notification settings - Fork 230
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
Membership updates to correct broken layouts when multiple roles assigned #2283
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.
Tested, works well for me, big improvements at the breakpoints that used to get ugly.
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 noticed some mis-alphabetizations around the new code you're adding, but would love to see a general cleanup of the issue throughout the file.
app/styles/_membership.less
Outdated
@media(min-width: @screen-md-min) { | ||
padding: 0; | ||
} | ||
} | ||
.add-role-to { |
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.
Nit: alpha
app/styles/_membership.less
Outdated
display: none; | ||
} | ||
} | ||
.col-heading .col-add-role h3 { |
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.
Nit: alpha
app/styles/_membership.less
Outdated
@media(min-width: @screen-xs-min) { | ||
max-width: 30%; | ||
padding: 0 5px 0 0; | ||
input { |
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.
Nit: alpha
ded8704
to
544fdd5
Compare
@rhamilto ready for second look. |
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.
Love the well-organized Less changes. SOOO much easier to read.
@sg00dwin should be ready, except needs rebase |
…gned. Overall code cleanup Fixes openshift#1219
544fdd5
to
07046e5
Compare
@spadgett rebased and ready |
@sg00dwin: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
I cherry-picked this commit and rebuilt the dist in #2344 |
The current layout breaks are occurring between 768-1200px when there are 3+ roles assigned. And are especially severe in edit mode .
To fix these, roles are stacked and allowed to flex-wrap. And in edit mode from 768-991px, the select field is positioned at the bottom of the stack. Also more space is given to the
col-name
column when the vertical nav is collapsed so that long user names don't wrap.Before and after screens below.
Fixes #1219
Before
After
Before
After
Before
After
Before
After