Skip to content

Commit

Permalink
Center iframe in articles
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelmdLow authored Mar 3, 2025
1 parent a923e00 commit 7f4f20e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ubyssey/static_src/src/styles/modules/article/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ div.article-content {
}

iframe {
margin-block: 2em;
border: none;
position: relative;
left: 50%;
transform: translateX(-50%);
}

@media($bp-larger-than-tablet) {
Expand Down Expand Up @@ -514,4 +518,4 @@ p.c-article__published-at {
border: none;
}
}
}
}

0 comments on commit 7f4f20e

Please sign in to comment.