summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-04-11 17:19:59 +0200
committerOskar Nyberg <oskar@mullvad.net>2024-04-11 17:58:53 +0200
commit0f124473959628b95adb3d65ee167ef187ddcf6a (patch)
treef223fd47257eac8dc4133d9334584f0af8d2b0c2 /gui/src
parent8f5bd86e79e5541b9ec521d18fed6235ad369994 (diff)
downloadmullvadvpn-0f124473959628b95adb3d65ee167ef187ddcf6a.tar.xz
mullvadvpn-0f124473959628b95adb3d65ee167ef187ddcf6a.zip
Make custom bridge hover button persistent
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/select-location/SpecialLocationList.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/src/renderer/components/select-location/SpecialLocationList.tsx b/gui/src/renderer/components/select-location/SpecialLocationList.tsx
index 60b1e0c666..9579a6b4b5 100644
--- a/gui/src/renderer/components/select-location/SpecialLocationList.tsx
+++ b/gui/src/renderer/components/select-location/SpecialLocationList.tsx
@@ -100,6 +100,8 @@ export function CustomExitLocationRow(props: SpecialLocationRowInnerProps<undefi
);
}
+const StyledInfoButton = styled(StyledHoverInfoButton)({ display: 'block' });
+
export function CustomBridgeLocationRow(
props: SpecialLocationRowInnerProps<SpecialBridgeLocationType>,
) {
@@ -124,7 +126,7 @@ export function CustomBridgeLocationRow(
<SpecialLocationIndicator />
<StyledLocationRowLabel>{props.source.label}</StyledLocationRowLabel>
</StyledLocationRowButton>
- <StyledHoverInfoButton
+ <StyledInfoButton
{...background}
$isLast
title={messages.pgettext('select-location-view', 'Custom bridge')}