Skip to content

Commit

Permalink
added transition to search btn, some padding to footer on mobile devi…
Browse files Browse the repository at this point in the history
…ce and feat(slang): added y (#405)
  • Loading branch information
Jahkamso authored Jan 11, 2024
1 parent 705f43b commit 163c197
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions public/server/db/y.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"definition": "Why"
}
2 changes: 1 addition & 1 deletion src/components/footer.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Footer = () => {
return (
<footer>
<div className="bottom-0 text-center p-2 bg-dark">
<div className="bottom-0 text-center p-4 bg-dark md:p-2">
<p className="text-sm mt-5 text-ash">
Found something odd?{" "}
<a href="https://github.com/Njong392/Abbreve">
Expand Down
2 changes: 1 addition & 1 deletion src/components/form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Form = () => {
<button
onClick={fetchData}
disabled={isLoading || !hasUserInputChanged}
className="bg-deeppurple text-ash font-bold rounded-xl hover:scale-110 p-2 mt-4 md:mt-0 items-center flex justify-center h-[50px] min-w-[100px] w-full md:w-auto">
className="bg-deeppurple text-ash font-bold rounded-xl hover:scale-110 p-2 mt-4 md:mt-0 items-center flex justify-center h-[50px] min-w-[100px] w-full transition-all cursor-pointer md:w-auto">
{isLoading ? <LoadingSpinner /> : "Search"}
</button>
</form>
Expand Down

1 comment on commit 163c197

@vercel
Copy link

@vercel vercel bot commented on 163c197 Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.