From 7d8cdefc7da20efed17fb6a4d72e640b2efa02ab Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Tue, 2 Jul 2019 10:27:23 +0200 Subject: [PATCH] CSS: Prevent selects with long option values from exceeding the container --- public/css/icinga/forms.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 7a54b5003..8ae3a7c63 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -182,6 +182,15 @@ form select:not([multiple]) { background-size: contain; } +form select { + /* Prevent selects with long option values from exceeding the container */ + width: 0 +} + +form.inline select { + width: auto +} + /********************************************************************************************************************** specific input styles ***********************************************************************************************************************/