summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/SmallButton.tsx
diff options
context:
space:
mode:
authorOskar <oskar@mullvad.net>2024-10-29 11:46:14 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-10-29 16:33:14 +0100
commit5ff12692ebc03e6ce4a8760cd6da1568532e631d (patch)
tree9aff356c73c260cfc2172b7a3ee09957117982dd /gui/src/renderer/components/SmallButton.tsx
parent0b277b75a46d5601647da422d8f0d92f8db11ecc (diff)
downloadmullvadvpn-5ff12692ebc03e6ce4a8760cd6da1568532e631d.tar.xz
mullvadvpn-5ff12692ebc03e6ce4a8760cd6da1568532e631d.zip
Show full disk access instructions in split tunneling view
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`,