Skip to content

Commit 734e8c0

Browse files
committed
refactor: sort styles
1 parent 52c7ee7 commit 734e8c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Navbar/Navbar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ const Navbar: React.FC = () => {
2727
</div>
2828

2929
{/* Right */}
30-
<div className="right-0 flex items-center static inset-auto ml-6 pr-0">
31-
<div className="w-full block ml-6 content-center">
32-
<div className="flex space-x-4 justify-end">
30+
<div className="static inset-auto right-0 ml-6 flex items-center pr-0">
31+
<div className="ml-6 block w-full content-center">
32+
<div className="flex justify-end space-x-4">
3333
<Switch>
3434
<Case condition={error instanceof UnsupportedChainIdError}>
3535
<button
36-
className="px-6 py-2 btn bg-lights-500 hover:bg-lights-500 normal-case text-sm font-medium select-none cursor-pointer rounded-md"
36+
className="btn cursor-pointer select-none rounded-md bg-lights-500 px-6 py-2 text-sm font-medium normal-case hover:bg-lights-500"
3737
onClick={() => dispatch(setConnectingStatus(true))}
3838
>
3939
Wrong Network
4040
</button>
4141
</Case>
4242
<Case condition={active === true}>
43-
<AccountName className="px-3 py-2 btn bg-lights-300 hover:bg-lights-400 normal-case text-sm font-medium select-none cursor-pointer rounded-md" />
43+
<AccountName className="btn cursor-pointer select-none rounded-md bg-lights-300 px-3 py-2 text-sm font-medium normal-case hover:bg-lights-400" />
4444
</Case>
4545
<Default>
4646
<button

0 commit comments

Comments
 (0)