Skip to content

Commit a504ba7

Browse files
committed
Prevent review list from causing horizontal scroll
1 parent 05c14f0 commit a504ba7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2>Introduction</h2>
5151
It's open source, free, and ad-less forever!
5252
</p>
5353
<h2>My favourite reviews</h2>
54-
<ul class="review-list full-width">
54+
<ul class="review-list">
5555
<li><figure>
5656
<blockquote>
5757
<p><mark>Simple and Extremely powerful.</mark>

main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ body {
300300

301301
#main {
302302
width: 1200px;
303+
overflow-x: auto /* Required to prevent scrollable flex (row) containers from taking up the full width */;
303304
padding-inline: 20px;
304305
font-size: 1.2em;
305306
}

0 commit comments

Comments
 (0)