From e867f70957d53a73d1d7da0366b7a7da66c8bb36 Mon Sep 17 00:00:00 2001 From: emargetis Date: Thu, 25 Apr 2024 21:24:45 -0500 Subject: [PATCH] fix: made mobile puzzle slightly more responsive Co-authored-by: Alex Sklar Co-authored-by: Joseph Liang --- src/components/Puzzle/index.js | 37 ++++++++++++++++++++--- src/components/TodoList/TodoList.js | 4 --- src/components/TodoList/TodoListClient.js | 2 +- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/src/components/Puzzle/index.js b/src/components/Puzzle/index.js index 935f5b7..fe8788a 100644 --- a/src/components/Puzzle/index.js +++ b/src/components/Puzzle/index.js @@ -4,10 +4,27 @@ import Signal from './Signal' import SignalVertical from './SignalVertical' import { useEffect, useState } from 'react' -function IFrame() { +const divStyle = { + border: '14px solid', + borderImage: 'url(' + '/landing/Client-window2.svg' + ') 15', +} + +function IFrame({ narrow }) { const { siteConfig: { customFields }, } = useDocusaurusContext() + + if (narrow === 'sm') { + return ( +
+ +
+ ) + } + return (