Skip to content

Commit dbb04f5

Browse files
committed
Oops I applied the styling to the wrong class. (Stop oversized sidebar ads from overflowing)
1 parent 0f81ba7 commit dbb04f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ubyssey/static_src/src/styles/modules/_advertisements.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,8 @@ main.article .o-advertisement--leaderboard {
232232
@media(variables.$bp-smaller-than-phablet) {
233233
flex-direction: column;
234234
}
235+
}
236+
237+
.sidebar-block--advertisement {
238+
overflow: clip;
235239
}

ubyssey/static_src/src/styles/modules/_homepage.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,6 @@ html.hairlines {
894894
}
895895

896896
.c-home-top--sidebar {
897-
overflow: clip;
898-
height: fit-content;
899897
color: var(--text_color);
900898
@media(variables.$bp-larger-than-tablet) {
901899
padding-left: 1.25em;

0 commit comments

Comments
 (0)