summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2023-10-17 13:54:19 +0200
committerOskar Nyberg <oskar@mullvad.net>2023-10-17 13:54:19 +0200
commit88463387e9d83e3366fb8c087605dc4c052f4981 (patch)
tree1144a5bbe8cba6e197c13dc16692869bc1ee6b8d
parent5f6b0698955a041bed36afd8f0cb2389ca79dc54 (diff)
parent00b9272cb686d78996e7a4b9de140e03f546e9fa (diff)
downloadmullvadvpn-88463387e9d83e3366fb8c087605dc4c052f4981.tar.xz
mullvadvpn-88463387e9d83e3366fb8c087605dc4c052f4981.zip
Merge branch 'fix-select-location-line-height'
-rw-r--r--gui/src/renderer/components/SearchBar.tsx1
-rw-r--r--gui/src/renderer/components/select-location/LocationRow.tsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/renderer/components/SearchBar.tsx b/gui/src/renderer/components/SearchBar.tsx
index da2de73af0..7983441ed8 100644
--- a/gui/src/renderer/components/SearchBar.tsx
+++ b/gui/src/renderer/components/SearchBar.tsx
@@ -18,6 +18,7 @@ export const StyledSearchInput = styled.input.attrs({ type: 'text' })({
borderRadius: '4px',
padding: '9px 38px',
margin: 0,
+ lineHeight: '24px',
color: colors.white60,
backgroundColor: colors.white10,
'::placeholder': {
diff --git a/gui/src/renderer/components/select-location/LocationRow.tsx b/gui/src/renderer/components/select-location/LocationRow.tsx
index 07c7d0003b..514fd19207 100644
--- a/gui/src/renderer/components/select-location/LocationRow.tsx
+++ b/gui/src/renderer/components/select-location/LocationRow.tsx
@@ -87,6 +87,7 @@ export const StyledLocationRowLabel = styled(Cell.Label)(normalText, {
flex: 1,
minWidth: 0,
fontWeight: 400,
+ lineHeight: '24px',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',