Skip to content

Commit 1c1f010

Browse files
Adjust margin when there are two banners
1 parent 84a4c4b commit 1c1f010

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/renderer/App.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@
2222
}
2323

2424
.banner + .banner {
25-
margin-block: 20px;
25+
margin-block-start: 20px;
2626
}
2727

2828
body:has(.floatingRefreshSection) .banner {
2929
margin-block: 40px 0;
3030
}
3131

32+
body:has(.floatingRefreshSection) .banner + .banner {
33+
margin-block-start: 20px;
34+
}
35+
3236
.banner-wrapper {
3337
margin-block: 0;
3438
margin-inline: 10px;
@@ -83,9 +87,17 @@ body:has(.floatingRefreshSection) .banner {
8387
margin-block-start: 34px;
8488
}
8589

90+
.banner + .banner {
91+
margin-block-start: 34px;
92+
}
93+
8694
body:has(.floatingRefreshSection) .banner {
8795
margin-block-start: 68px;
8896
}
97+
98+
body:has(.floatingRefreshSection) .banner + .banner {
99+
margin-block-start: 34px;
100+
}
89101

90102
.flexBox {
91103
margin-block: 60px -75px;

0 commit comments

Comments
 (0)