diff options
author | Sebastian <sebasjm@gmail.com> | 2022-02-16 15:15:47 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-02-16 15:16:21 -0300 |
commit | 3e92c2496868d7905b58be87925f5835965c6bda (patch) | |
tree | 6a9a7967c498cca283ea138766f5b49c9c41c73b /packages/taler-wallet-webextension/src/components/MultiActionButton.tsx | |
parent | bc1c33e1ce4ea760fb87de0dee66ca22cce9b7b7 (diff) | |
download | wallet-core-3e92c2496868d7905b58be87925f5835965c6bda.tar.xz |
settings new design
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/MultiActionButton.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/MultiActionButton.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/components/MultiActionButton.tsx b/packages/taler-wallet-webextension/src/components/MultiActionButton.tsx index 70d53640d..977ac557d 100644 --- a/packages/taler-wallet-webextension/src/components/MultiActionButton.tsx +++ b/packages/taler-wallet-webextension/src/components/MultiActionButton.tsx @@ -69,18 +69,21 @@ export function MultiActionButton({ ))} </div> )} - <ButtonPrimary + <ButtonBoxPrimary onClick={() => doClick(selected)} style={{ borderTopRightRadius: 0, borderBottomRightRadius: 0, marginRight: 0, + maxWidth: 170, + overflowX: "hidden", + textOverflow: "ellipsis", }} > {label(selected)} - </ButtonPrimary> + </ButtonBoxPrimary> - <ButtonBoxPrimary + <ButtonPrimary onClick={() => setOpened((s) => !s)} style={{ marginLeft: 0, @@ -89,7 +92,7 @@ export function MultiActionButton({ }} > <img style={{ height: 14 }} src={arrowDown} /> - </ButtonBoxPrimary> + </ButtonPrimary> </div> ); } |