Skip to content

Commit ecdacde

Browse files
committed
Fixes bug on overview where donut spilled out of row
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1473512
1 parent 7b414b3 commit ecdacde

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

app/styles/_overview.less

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,14 @@
512512
display: flex;
513513
flex: 1 1 auto;
514514
justify-content: center;
515-
@media (min-width: @screen-sm-min) {
516-
&.animation-in-progress .overview-deployment-donut .latest-donut {
517-
justify-content: flex-end;
515+
&.animation-in-progress .overview-deployment-donut {
516+
@media (min-width: @screen-xs-min) {
517+
max-width: 450px;
518+
}
519+
@media (min-width: @screen-sm-min) {
520+
.latest-donut {
521+
justify-content: flex-end;
522+
}
518523
}
519524
}
520525
.overview-deployment-donut {
@@ -523,7 +528,6 @@
523528
flex: 1 1 auto;
524529
// prevents resize jump; set height since the donut isn't displayed exactly when expanded-section is rendered
525530
min-height: 150px;
526-
max-width: 450px;
527531
}
528532
&.ng-enter {
529533
animation: deploymentSlideIn 750ms ease forwards;

dist/styles/main.css

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)