Skip to content

Commit c975d78

Browse files
committed
update active states
1 parent f3f2dbb commit c975d78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/App.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ function App() {
7575
</h1>
7676
<div
7777
id="search-input-wrapper"
78-
className="bg-white rounded-2xl w-full flex sm:w-128 sm:mx-auto"
78+
className="bg-white rounded-2xl w-full flex sm:w-128 sm:mx-auto "
7979
>
8080
<input
8181
type="search"
82-
className="grow rounded-2xl px-6 text-lg"
82+
className="grow rounded-2xl px-6 text-lg cursor-pointer"
8383
placeholder="Search for any IP address or domain"
8484
value={searchIP}
8585
onChange={(e) => setSearchIP(e.target.value)}
8686
/>
87-
<button className="font-bold h-full bg-black text-white px-6 py-5.5 rounded-r-2xl text-xl">
87+
<button className="font-bold h-full bg-black text-white px-6 py-5.5 rounded-r-2xl text-xl hover:bg-very-dark-gray active:bg-gray-900">
8888
<img src={searchArrow} alt="search arrow button" />
8989
</button>
9090
</div>
@@ -98,7 +98,7 @@ function App() {
9898
>
9999
<div
100100
id="details"
101-
className="rounded-2xl bg-white p-7 flex flex-col mx-auto text-center gap-3.5 font-semibold text-very-dark-gray tracking-wide sm:flex-row sm:text-left sm:justify-between sm:w-full sm:m-1 sm:my-2"
101+
className="rounded-2xl bg-white p-7 flex flex-col mx-auto text-center gap-3.5 font-semibold text-very-dark-gray tracking-wide sm:flex-row sm:text-left sm:justify-between sm:w-full sm:m-1 sm:my-2 sm:break-all"
102102
>
103103
<div id="ip-address-wrapper">
104104
<h3 className="text-2xs text-dark-gray tracking-x-wide pb-1.5">

0 commit comments

Comments
 (0)