Skip to content

Commit a962c86

Browse files
Fix most requested list item alignment for the two item layout
1 parent 10e2076 commit a962c86

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/gc-most-requested/_screen-md-min.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@
4343
display: block;
4444
}
4545
}
46+
47+
// If there are only two items in the list, display them side by side, horizontally aligned
48+
&:has(>li:nth-child(2):last-child) {
49+
display: flex;
50+
51+
> li {
52+
width: 50%;
53+
}
54+
}
4655
}
4756
}
4857

0 commit comments

Comments
 (0)