Skip to content

Commit 0bb5e22

Browse files
authored
fix: correct input borders (#65)
2 parents b140729 + 0590793 commit 0bb5e22

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

components/custom/GetterInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const GetterInput = () => {
7070
type="button"
7171
id="clipboard-copy"
7272
className={clsx(
73-
"absolute inset-y-0 right-0 flex items-center overflow-hidden rounded-r-full bg-secondary pl-2 pr-3.5 transition-all",
73+
"absolute inset-y-0 right-0 flex items-center overflow-hidden rounded-r-md bg-secondary px-4 transition-all",
7474
permission ? "opacity-100" : "bg-secondary/25",
7575
"hover:pointer-events-auto hover:cursor-pointer hover:bg-secondary/60 hover:opacity-100"
7676
)}
@@ -90,7 +90,7 @@ export const GetterInput = () => {
9090
<button
9191
type="submit"
9292
id="search-button"
93-
className="border-1 m-auto mx-auto rounded-full border border-solid border-transparent bg-[#205D83] px-5 py-2.5 text-center text-lg font-medium text-white transition-all duration-200 ease-in-out hover:cursor-pointer hover:border-[#205D83] hover:bg-[#102F42] hover:ring-[#205D83] focus:outline-none focus:ring-2 focus:ring-blue-300 sm:w-auto disabled:opacity-50"
93+
className="border-1 m-auto mx-auto rounded-md border border-solid border-transparent bg-[#205D83] px-5 py-2.5 text-center text-lg font-medium text-white transition-all duration-200 ease-in-out hover:cursor-pointer hover:border-[#205D83] hover:bg-[#102F42] hover:ring-[#205D83] focus:outline-none focus:ring-2 focus:ring-blue-300 sm:w-auto disabled:opacity-50"
9494
disabled={url.length === 0}
9595
>
9696
{false ? "Loading..." : "Search"}

components/custom/VideoSelect.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ export const VideoSelect = () => {
110110
return (
111111
<section className="py-8" id="error-search">
112112
<div className="mx-auto my-2 flex h-auto min-h-40 w-11/12 rounded-lg border-2 border-dashed border-[#102F42]">
113-
<p className="m-auto mx-auto text-center font-bold text-red-800 md:text-xl">
114-
{error ? error : "An error occured"}
113+
<p className="m-auto mx-auto text-center font-bold text-white md:text-xl">
114+
ERROR: {error ? error : "An error occured"}
115115
</p>
116116
</div>
117117
</section>
@@ -246,7 +246,7 @@ export const VideoSelect = () => {
246246
)}
247247

248248
{downloadError && (
249-
<p className="my-auto mx-auto text-center font-bold text-red-700 md:text-xl">
249+
<p className="my-auto mx-auto text-center font-bold text-white md:text-xl">
250250
{downloadError}
251251
</p>
252252
)}

0 commit comments

Comments
 (0)