From 00b9272cb686d78996e7a4b9de140e03f546e9fa Mon Sep 17 00:00:00 2001 From: Oskar Nyberg Date: Tue, 17 Oct 2023 08:04:32 +0200 Subject: [PATCH] Fix LocationRow and search input line height --- gui/src/renderer/components/SearchBar.tsx | 1 + gui/src/renderer/components/select-location/LocationRow.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/gui/src/renderer/components/SearchBar.tsx b/gui/src/renderer/components/SearchBar.tsx index da2de73af0b0..7983441ed8c5 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 07c7d0003bb4..514fd1920748 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',