Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
AngularJS是一个带有span的引导工具提示_Angularjs_Twitter Bootstrap_Twitter Bootstrap 2 - Fatal编程技术网

AngularJS是一个带有span的引导工具提示

AngularJS是一个带有span的引导工具提示,angularjs,twitter-bootstrap,twitter-bootstrap-2,Angularjs,Twitter Bootstrap,Twitter Bootstrap 2,我有一个Angular1.0.7Web应用程序。我将Twitter Bootstrap 2工具提示添加到span标记中,但是工具提示显示得非常窄。我在应用程序中的许多其他工具提示都不会出现这种情况 <span style="line-height: 45px" ng-show="controlSkipperType || createBoatPoliciesForm.skipperType.$error.validateSkipperType" class="text-error" ng-

我有一个Angular1.0.7Web应用程序。我将Twitter Bootstrap 2工具提示添加到span标记中,但是工具提示显示得非常窄。我在应用程序中的许多其他工具提示都不会出现这种情况

<span style="line-height: 45px" ng-show="controlSkipperType || createBoatPoliciesForm.skipperType.$error.validateSkipperType" class="text-error" ng-switch="skipperTypeError">                  
    <span ng-switch-when="OPTIONAL_ERROR" style="position: relative; top: -15px; margin-left: 10px" class="pull-left">{{'SKIPPER_TYPE_OPTIONAL_ERROR' | translate}}.</span>
    <span ng-switch="skipperTypeError" style="position: relative; top: -15px; margin-left: 10px">
    <i ng-switch-when="OPTIONAL_ERROR" class="fa-icon-question-sign" tooltip="Text to show in the tooltip"></i>
如图所示:

类似这样的内容:

div > div .popover-content {
   min-width: 620px !important;
}

只需更改工具提示的类,就可以在那里更改宽度。使用子属性更改特定的tootipSorry,我不理解。你能用上面我自己的代码吗?