From c45661bbe41a223d1e937c74f6f39f3d950749bb Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 26 Jul 2022 09:12:52 -0600 Subject: [PATCH] Et2Select: No horizontal scrollbar on options --- api/js/etemplate/Et2Select/Et2Select.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index 6af75cb579..bb8feb449c 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -86,6 +86,10 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect) { max-height: initial; } + /* No horizontal scrollbar, even if options are long */ + .dropdown__panel { + overflow-x: clip; + } /** multiple=true uses tags for each value **/ /* styling for icon inside tag (not option) */