Skip to content

Commit 78b1aae

Browse files
updated headingStyle for mobile screens in quickStartFilter
Signed-off-by: Devesh Shukla <[email protected]>
1 parent fce1917 commit 78b1aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/QuickStartFilter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ export default function QuickstartFilter({defaultLanguage = null}) {
109109
// ----- Styles -----
110110
const headingStyle = {
111111
textAlign: "left",
112-
marginLeft: "1rem",
113-
fontSize: "1.4rem",
112+
marginLeft: typeof window !== "undefined" && window.innerWidth < 480 ? "0.75rem" : "1rem",
113+
fontSize: typeof window !== "undefined" && window.innerWidth < 480 ? "1.2rem" : "1.4rem",
114114
fontWeight: "600",
115115
color: isDark ? "#fff" : "#222",
116116
};

0 commit comments

Comments
 (0)