Skip to content

Commit c6227da

Browse files
feat: hide mobile warning box on all screen sizes (#2757)
* feat: hide mobile warning box on all screen sizes - Changed className from 'sm:hidden' to 'hidden' in Hero component - This hides the mobile warning box on mobile devices as requested - Maintains existing behavior on larger screens (already hidden) - Warning text: 'Onlook isn't designed for Mobile – Please open on a larger screen' Co-Authored-By: [email protected] <[email protected]> * fix: remove conflicting flex class to ensure hidden works properly - Removed 'flex' class that conflicts with 'hidden' class - Addresses Diamond AI code review feedback about CSS display conflicts - Ensures mobile warning box is properly hidden on all screen sizes Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
1 parent ebb953a commit c6227da

File tree

1 file changed

+1
-1
lines changed
  • apps/web/client/src/app/_components/hero

1 file changed

+1
-1
lines changed

apps/web/client/src/app/_components/hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function Hero() {
8484
</motion.div>
8585

8686
</div>
87-
<motion.div className="sm:hidden text-balance flex flex-col gap-4 items-center relative z-20 mx-10 text-foreground-secondary bg-foreground-secondary/10 backdrop-blur-lg rounded-lg border-[0.5px] border-foreground-secondary/20 p-4"
87+
<motion.div className="hidden text-balance flex-col gap-4 items-center relative z-20 mx-10 text-foreground-secondary bg-foreground-secondary/10 backdrop-blur-lg rounded-lg border-[0.5px] border-foreground-secondary/20 p-4"
8888
initial={{ opacity: 0, filter: "blur(4px)" }}
8989
animate={{ opacity: 1, filter: "blur(0px)" }}
9090
transition={{ duration: 0.6, delay: 0.6, ease: "easeOut" }}

0 commit comments

Comments
 (0)