diff --git a/apps/formbricks-com/components/customeStyles/BestPracticeNavigation.module.css b/apps/formbricks-com/components/customeStyles/BestPracticeNavigation.module.css new file mode 100644 index 0000000000..1c31b95843 --- /dev/null +++ b/apps/formbricks-com/components/customeStyles/BestPracticeNavigation.module.css @@ -0,0 +1,14 @@ +@media screen and (max-width:960px) and (min-width:831px){ + .category{ + font-size: 12px; + } +} +@media screen and (max-width:830px) and (min-width:640px) { + .heroCard{ + padding: 1rem; + } + .category{ + font-size: 10px; + right: 10px; + } +} \ No newline at end of file diff --git a/apps/formbricks-com/components/shared/BestPracticeNavigation.tsx b/apps/formbricks-com/components/shared/BestPracticeNavigation.tsx index 054cbebdbd..47c7251288 100644 --- a/apps/formbricks-com/components/shared/BestPracticeNavigation.tsx +++ b/apps/formbricks-com/components/shared/BestPracticeNavigation.tsx @@ -11,6 +11,9 @@ import { import clsx from "clsx"; import Link from "next/link"; +// Importing custom CSS file for BestPracticeNavigation.tsx File. +import style from "../customeStyles/BestPracticeNavigation.module.css"; + export default function BestPracticeNavigation() { const BestPractices = [ { @@ -81,14 +84,15 @@ export default function BestPracticeNavigation() { ]; return ( -