diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-10-17 08:04:32 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-10-17 13:54:06 +0200 |
| commit | 00b9272cb686d78996e7a4b9de140e03f546e9fa (patch) | |
| tree | 1144a5bbe8cba6e197c13dc16692869bc1ee6b8d | |
| parent | 5f6b0698955a041bed36afd8f0cb2389ca79dc54 (diff) | |
| download | mullvadvpn-00b9272cb686d78996e7a4b9de140e03f546e9fa.tar.xz mullvadvpn-00b9272cb686d78996e7a4b9de140e03f546e9fa.zip | |
Fix LocationRow and search input line height
| -rw-r--r-- | gui/src/renderer/components/SearchBar.tsx | 1 | ||||
| -rw-r--r-- | gui/src/renderer/components/select-location/LocationRow.tsx | 1 |
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', |
