From 8c6f0f6a224f8d770d0439b92941458b327d37d8 Mon Sep 17 00:00:00 2001 From: "Andrea N. Cardona" Date: Mon, 28 Aug 2023 12:07:12 -0700 Subject: [PATCH] fix: fix combobox dropdown bug --- .../patterns/combobox/examples/css/combobox-autocomplete.css | 4 ++-- content/patterns/combobox/examples/css/grid-combo.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/patterns/combobox/examples/css/combobox-autocomplete.css b/content/patterns/combobox/examples/css/combobox-autocomplete.css index 72f0f113d6..cef393bd3b 100644 --- a/content/patterns/combobox/examples/css/combobox-autocomplete.css +++ b/content/patterns/combobox/examples/css/combobox-autocomplete.css @@ -13,7 +13,7 @@ background-color: white; color: black; box-sizing: border-box; - height: 24px; + height: 30px; padding: 0; margin: 0; vertical-align: bottom; @@ -46,7 +46,7 @@ ul[role="listbox"] { padding: 0; position: absolute; left: 4px; - top: 28px; + top: 34px; list-style: none; background-color: white; display: none; diff --git a/content/patterns/combobox/examples/css/grid-combo.css b/content/patterns/combobox/examples/css/grid-combo.css index 5484f8f7b4..8c86a4f3be 100644 --- a/content/patterns/combobox/examples/css/grid-combo.css +++ b/content/patterns/combobox/examples/css/grid-combo.css @@ -23,7 +23,7 @@ margin: 0; padding: 0; position: absolute; - top: 1.7em; + top: auto; z-index: 1; }