Skip to content

Commit

Permalink
chore: set color for chain select
Browse files Browse the repository at this point in the history
  • Loading branch information
cyphertrace authored and wormat committed Oct 20, 2022
1 parent e6ffbe2 commit 6a6f769
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/ui/src/components/WormholeForm/WormholeChainSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ const WormholeChainSelect = ({
options={chainOptions}
valueOfSelected={String(selectedChainId)}
onChange={(value) => onSelectChain(Number(value) as ChainId)}
className="euiButton--primary"
itemClassName="chainSelectItem"
hasDividers
/>
</EuiFormRow>
Expand Down
12 changes: 9 additions & 3 deletions apps/ui/src/components/WormholeForm/WormholeForm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@
transition: all 1s ease-out;
}

@media (min-width: 768px) {
.wormholeForm {
min-width: 460px;
@media only screen and (max-width: 748px) {
.chainSelectItem {
.euiContextMenuItem__text {
max-width: 80%;
.euiFlexGroup--responsive {
display: flex;
flex-wrap: nowrap;
}
}
}
}

0 comments on commit 6a6f769

Please sign in to comment.