Skip to content

Commit a77b7b9

Browse files
authored
Merge pull request #13 from Edwardb11/Feat-UI
update foother and other component off design
2 parents 92087d7 + 9c1857e commit a77b7b9

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

src/componets/box/Box.js

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default function Box() {
7676
</header>
7777

7878
<main className="bg-cyan-light_gray_f py-16 2xl:py-16 xl:py-16 lg:py-0 md:py-0 sm:py-0 ">
79-
<div className="flex justify-center relative">
79+
<div className="flex justify-center ">
8080
<div className="fixed flex flex-wrap px-7 py-7 rounded-3xl shadow-lg bg-white text-black max-w-[50%] md:max-w-full sm:max-w-full ">
8181
<div className="flex-auto max-w-1/2 sm:max-w-full md:max-w-full mx-2 ">
8282
<label
@@ -118,7 +118,7 @@ export default function Box() {
118118
maxLength="100"
119119
max={100}
120120
onChange={(e) => setTipC(e.target.value)}
121-
className=" group relative w-btn p-3 m-2 pl-5 md:pl-14 lg:pl-8 xl:pl-7 2xl:pl-8 sm:pl-5 sm:w-2/5 text-left focus:outline-none text-2xl focus:ring-2 focus:ring-cyan-dark font-semibold focus:border-transparent rounded-md block text-black bg-cyan-light_gray "
121+
className=" group relative w-btn p-3 m-2 pl-2 md:pl-14 lg:pl-1 xl:pl-3 2xl:pl-1 sm:pl-5 sm:w-2/5 text-left focus:outline-none text-2xl focus:ring-2 focus:ring-cyan-dark font-semibold focus:border-transparent rounded-md block text-black bg-cyan-light_gray "
122122
placeholder="Custom"
123123
/>
124124
</div>
@@ -183,25 +183,29 @@ export default function Box() {
183183
</div>
184184
</div>
185185
</div>
186-
<div className="flex justify-center tracking-wide text-center ">
187-
<p>
188-
Challenge by<span> </span>
189-
<a
190-
href="https://www.frontendmentor.io/challenges/tip-calculator-app-ugJNGbJUX"
191-
target="_blank"
192-
className="text-blue-800 "
193-
>
194-
Frontend Mentor.<span> </span>
195-
</a>
196-
Coded by 👑
197-
<a
198-
href="https://github.com/Edwardb11/Tip-calculator-app"
199-
target="_blank"
200-
className="text-blue-800 "
201-
>
202-
Edwardb11👑
203-
</a>
204-
</p>
186+
187+
<div className=" flex justify-center tracking-wide text-center mt-96 ">
188+
<br></br>
189+
<div className=" mt-28 sm:mt-96 md:mt-96 ">
190+
<p className="sm:mt-4 md:mt-3 ">
191+
Challenge by<span> </span>
192+
<a
193+
href="https://www.frontendmentor.io/challenges/tip-calculator-app-ugJNGbJUX"
194+
target="_blank"
195+
className="text-blue-800 "
196+
>
197+
Frontend Mentor.<span> </span>
198+
</a>
199+
Coded by 👑
200+
<a
201+
href="https://github.com/Edwardb11/Tip-calculator-app"
202+
target="_blank"
203+
className="text-blue-800 "
204+
>
205+
Edwardb11👑
206+
</a>
207+
</p>
208+
</div>
205209
</div>
206210
</main>
207211
</div>

0 commit comments

Comments
 (0)