From f923905f8d9b78b3473b7a4d439643d00caa5d60 Mon Sep 17 00:00:00 2001 From: Tejas Kumar Date: Thu, 7 Mar 2019 11:40:24 +0100 Subject: [PATCH] Fix Select styles --- src/Select/Select.Filter.tsx | 2 +- src/Select/Select.style.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Select/Select.Filter.tsx b/src/Select/Select.Filter.tsx index c2025d251..7d71f701d 100644 --- a/src/Select/Select.Filter.tsx +++ b/src/Select/Select.Filter.tsx @@ -14,7 +14,7 @@ const Container = styled("div")(({ theme }) => { label: "selectfilter", "& > input": { width: "100%", - padding: theme.space.content, + padding: theme.space.small, border: 0, outline: "none", font: "inherit", diff --git a/src/Select/Select.style.ts b/src/Select/Select.style.ts index 68b884b30..2f20bf12e 100644 --- a/src/Select/Select.style.ts +++ b/src/Select/Select.style.ts @@ -75,7 +75,6 @@ const Options = styled("div")( ) const OptionsList = styled("div")({ - // whole number + 3/4 ratio here ensures options don't get cut off maxHeight: 200, overflow: "auto", })