From 04b9a70f5df2c788a4e24d20fda93478728c9126 Mon Sep 17 00:00:00 2001 From: Fathil Arham <46985522+fathil11@users.noreply.github.com> Date: Thu, 26 Aug 2021 19:28:16 +0700 Subject: [PATCH] Fix long text option overflow Add max-width 100% in .dropdown-menu class to prevent text overflow. --- sass/bootstrap-select.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/bootstrap-select.scss b/sass/bootstrap-select.scss index 04048078a..32405e1c3 100644 --- a/sass/bootstrap-select.scss +++ b/sass/bootstrap-select.scss @@ -315,6 +315,7 @@ select.selectpicker { // The selectpicker dropdown .dropdown-menu { min-width: 100%; + max-width: 100%; @include box-sizing(border-box); > .inner:focus {