summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/SmallButton.tsx
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-10-29 16:34:39 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-10-29 16:34:39 +0100
commit72b4281b0d19e6f0a67f073cce8f02f2b2bca9bd (patch)
tree72d03f7a2512b744d07cea8defd8f9f1de2231ba /gui/src/renderer/components/SmallButton.tsx
parent9be5271898cb56b08e00eebfa6cffc4856945cf7 (diff)
parent240fe6ea22dc6320313c2e1f887b441a9528ff43 (diff)
downloadmullvadvpn-72b4281b0d19e6f0a67f073cce8f02f2b2bca9bd.tar.xz
mullvadvpn-72b4281b0d19e6f0a67f073cce8f02f2b2bca9bd.zip
Merge branch 'macos-st-prompt-on-use'
Diffstat (limited to 'gui/src/renderer/components/SmallButton.tsx')
-rw-r--r--gui/src/renderer/components/SmallButton.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/renderer/components/SmallButton.tsx b/gui/src/renderer/components/SmallButton.tsx
index e88d719952..c91fbbdb20 100644
--- a/gui/src/renderer/components/SmallButton.tsx
+++ b/gui/src/renderer/components/SmallButton.tsx
@@ -53,6 +53,10 @@ const StyledSmallButton = styled.button<StyledSmallButtonProps>(smallText, (prop
alignItems: 'center',
justifyContent: 'center',
+ '&&:not(& + &&)': {
+ marginLeft: '0px',
+ },
+
[`${SmallButtonGroupStart} &&`]: {
marginLeft: 0,
marginRight: `${BUTTON_GROUP_GAP}px`,