From 99b9fc1873ddf2f817866090a3238cd692eb208d Mon Sep 17 00:00:00 2001 From: vitalets <vitalets@yandex-team.ru> Date: Fri, 4 Oct 2013 22:04:55 +0400 Subject: [PATCH] set width: auto to bs3 form-controls, see #393 --- src/editable-form/editable-form.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/editable-form/editable-form.css b/src/editable-form/editable-form.css index 942357a..4e03b8f 100644 --- a/src/editable-form/editable-form.css +++ b/src/editable-form/editable-form.css @@ -8,6 +8,14 @@ line-height: 20px; /* overwriting bootstrap line-height. See #133 */ } +/* + BS3 width:1005 for inputs breaks editable form in popup + See: https://github.com/vitalets/x-editable/issues/393 +*/ +.editableform .form-control { + width: auto; +} + .editable-buttons { display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ vertical-align: top;