Skip to content

Commit 1021e75

Browse files
committed
Fix layout issue with stats graph, fixes #1847
1 parent 446515b commit 1021e75

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

css/app.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,16 @@ input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:fo
15681568
#view-package-page .package-facts > [class*="col-"] {
15691569
min-width: 0;
15701570
}
1571+
// the cards are opaque here, so bands that touch read as one surface - most visibly the
1572+
// downloads chart running straight into the Statistics card below it
1573+
#view-package-page > .package > .row + .row {
1574+
margin-top: 15px;
1575+
}
1576+
// the versions band brings its own top margin, which would stack on that gutter
1577+
#view-package-page .versions-section .version-details,
1578+
#view-package-page .versions-section .package-aside.versions-wrapper {
1579+
margin-top: 0;
1580+
}
15711581
.package .package-aside.versions-wrapper {
15721582
margin-left: 0;
15731583
margin-right: 0;

0 commit comments

Comments
 (0)