From df8f3a7f13936d388ba0bee718e75d267d90d5b5 Mon Sep 17 00:00:00 2001 From: Frederick Zhan Date: Mon, 22 Jun 2015 10:37:35 +0800 Subject: [PATCH] Add max-width to .ms-container In mobile platform or a moodal, it's easy to happen that the multiselect-container exceeds the gird. --- css/multi-select.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/multi-select.css b/css/multi-select.css index 8b3bb5e..35cd291 100644 --- a/css/multi-select.css +++ b/css/multi-select.css @@ -1,6 +1,7 @@ .ms-container{ background: transparent url('../img/switch.png') no-repeat 50% 50%; width: 370px; + max-width: 100%; } .ms-container:after{ @@ -90,4 +91,4 @@ background-color: #eee; color: #aaa; cursor: text; -} \ No newline at end of file +}