Commit e7244f0f by Roman Misyurin Committed by GitHub

DashLinks: Add pull right to dropdown menu (#22233)

parent d2689b6d
...@@ -41,7 +41,7 @@ function dashLink($compile: any, $sanitize: any, linkSrv: LinkSrv) { ...@@ -41,7 +41,7 @@ function dashLink($compile: any, $sanitize: any, linkSrv: LinkSrv) {
if (link.asDropdown) { if (link.asDropdown) {
template += template +=
'<ul class="dropdown-menu" role="menu">' + '<ul class="dropdown-menu pull-right" role="menu">' +
'<li ng-repeat="dash in link.searchHits">' + '<li ng-repeat="dash in link.searchHits">' +
'<a href="{{dash.url}}" target="{{dash.target}}">{{dash.title}}</a>' + '<a href="{{dash.url}}" target="{{dash.target}}">{{dash.title}}</a>' +
'</li>' + '</li>' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment