1
我有一个渲染非常奇怪的弹窗。它呈现非常高而瘦。不是什么预料但很好奇我怎么能解决这个问题。引导3.0弹窗宽度问题
<div class="input-group">
<input id="JewelryDescription" name="JewelryDescription"
data-bind="value: JewelryDescription"
type="text" class="form-control control-font">
<span class="input-group-addon">
<a tabindex="0" data-toggle="popover" data-trigger="focus" title=""
data-content="Here is where the content goes and goes and could
go on and on and for awhile but should have some sort of limit."
data-original-title="Title">Help <i class="fa fa-question-circle"></i></a> </span>
$(function() {
// popup functionality
$('[data-toggle="popover"]').popover({
});
});
小提琴:https://jsfiddle.net/xequence/t76wkysz/1/
定义您的DIV(使用CSS或内联)的宽度和高度,它不应该呈现的方式。它可能是基于%s和屏幕尺寸进行渲染,因此尝试像素。 –