Skip to content

Commit abb172b

Browse files
committed
chore: small fix of recipe gallery for mobile
1 parent ecdbefa commit abb172b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/components/Nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function Sidebar() {
5555
<a href="/#frameworks-integrations" onClick={() => Swal.close()}>
5656
<span>Integrations</span>
5757
</a>
58-
<a href="/#themes" onClick={() => Swal.close()}>
58+
<a href="/#themes" className="mobile-hidden" onClick={() => Swal.close()}>
5959
<span>Themes</span>
6060
</a>
6161
<a href="/#configuration" className="mobile-hidden" onClick={() => Swal.close()}>

styles/styles.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,8 +955,16 @@ $bouncing-logo-min-height: 35%;
955955
align-items: center;
956956
justify-content: center;
957957

958-
a {
959-
margin-right: 20em;
958+
@media all and (width > 768px) {
959+
a {
960+
margin-right: 20em;
961+
}
962+
}
963+
964+
@media all and (width <= 768px) {
965+
a {
966+
margin-top: 1em;
967+
}
960968
}
961969

962970
#docsearch {

0 commit comments

Comments
 (0)