加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

angular-ui-bootstrap – 如何将Angular UI Typeahead对齐到右侧

发布时间:2020-12-17 17:09:22 所属栏目:安全 来源:网络整理
导读:我在RTL语言网站(阿拉伯语)中使用angular-ui-bootstrap.默认情况下,Typeahead将所有结果对齐到左侧.如何改变它? 这在angular-ui-bootstrap网站中提到: The $uibPosition service provides a set of DOM utilities used internally to absolute-position an
我在RTL语言网站(阿拉伯语)中使用angular-ui-bootstrap.默认情况下,Typeahead将所有结果对齐到左侧.如何改变它?

这在angular-ui-bootstrap网站中提到:

The $uibPosition service provides a set of DOM utilities used internally to absolute-position an element in relation to another element (tooltips,popovers,typeaheads etc…).

我无法理解.有什么例子吗?

解决方法

这对我有用:

.rtl .dropdown-menu{
     float:right;
     position:inherit;
  }

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读