我在 RTL 语言网站(阿拉伯语)中使用 angular-ui-bootstrap。默认情况下,预先输入将所有结果向左对齐。怎么改成对的?
这在 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;
}
关于angular-ui-bootstrap - 如何将 Angular UI Typeahead 向右对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42941612/