-
Notifications
You must be signed in to change notification settings - Fork 232
Removing layout.attrs to reduce dependencies #2860
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
Removing layout.attrs to reduce dependencies #2860
Conversation
/assign @sg00dwin |
@TheRealJon FYI, this removes the layout.attrs dependency (which was bower only) |
@@ -35,12 +35,9 @@ | |||
margin-top: 15px; | |||
} | |||
.pod-template { | |||
// so that .word-break() on children works | |||
[flex] { | |||
min-width: 0; |
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.
wouldn't we need to keep min-width: 0
on .pod-template
?
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.
Yep. It moved to line 53.
@@ -30,7 +30,7 @@ | |||
</div> | |||
<div class="pipeline"> | |||
<div class="pipeline-stage" ng-repeat="stage in jenkinsStatus.stages track by stage.id"> | |||
<div column class="pipeline-stage-column"> | |||
<div class="pipeline-stage-column"> |
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.
Shouldn't there be a .pipeline-stage-column
rule with flex-direction:column; display:flex
since it was removed from the markup?
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.
To be completely parallel with what was there, yes. But a div displays block by default, and that renders the same way as flex/column, so I opted to remove it for less code.
/lgtm |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
Also fixes #2614 by eliminating the three column layout for desktop resolutions

And updates volume-claim-template heading to the new style


Before:
After: