How to align Angular UI Typeahead to the right

I am using angular -ui-bootstrap on the RTL website (in Arabic). Typeahead by default aligns all results to the left. How to change it to the right?

This is mentioned on the angular -ui-bootstrap website:

The $ uibPosition service provides a set of DOM utilities used internally to completely position an element relative to another element (tooltips, popovers, typeaheads, etc.).

I could not understand. Are there any examples?

+4
source share
1 answer

This worked for me:

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

Source: https://habr.com/ru/post/1672883/


All Articles