Skip to content

Commit

Permalink
fix(bridge): light theme toggle chain button (#13089)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadab-taiko committed Feb 4, 2023
1 parent cb34cf0 commit ed5a748
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/bridge-ui/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ input[type=number] {
display: none;
}

[data-theme="light"] .toggle-chain.btn[disabled] {
color: #1f2937;
background-color: #d4d4d4;
opacity: 0.4;
}

@media screen and (max-width: 768px) {
[data-theme="dark"] .taiko-logo {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/components/form/SelectChain.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<button
on:click={toggleChains}
class="btn btn-square btn-sm"
class="btn btn-square btn-sm toggle-chain"
disabled={!$signer}><ArrowRight size="16" /></button
>
<div class="flex items-center w-2/5 justify-center">
Expand Down

1 comment on commit ed5a748

@JmssHelloJms
Copy link

Choose a reason for hiding this comment

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

Work is good

Please sign in to comment.