Commit fc9014f9 by Patrick O'Carroll

added indent to dashboards inside folder in search dropdown, and added indent to…

added indent to dashboards inside folder in search dropdown, and added indent to dashboard icon in search item
parent 1014f7c4
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="search-section__header" ng-show="section.hideHeader"></div> <div class="search-section__header" ng-show="section.hideHeader"></div>
<div ng-if="section.expanded"> <div ng-if="section.expanded">
<a ng-repeat="item in section.items" class="search-item" ng-class="{'selected': item.selected}" ng-href="{{::item.url}}" > <a ng-repeat="item in section.items" class="search-item search-item--indent" ng-class="{'selected': item.selected}" ng-href="{{::item.url}}" >
<div ng-click="ctrl.toggleSelection(item, $event)"> <div ng-click="ctrl.toggleSelection(item, $event)">
<gf-form-switch <gf-form-switch
ng-show="ctrl.editable" ng-show="ctrl.editable"
......
...@@ -61,6 +61,10 @@ ...@@ -61,6 +61,10 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;
.search-item--indent {
margin-left: 14px;
}
} }
.search-dropdown__col_2 { .search-dropdown__col_2 {
...@@ -202,7 +206,7 @@ ...@@ -202,7 +206,7 @@
padding: 5px; padding: 5px;
flex: 0 0 auto; flex: 0 0 auto;
font-size: 19px; font-size: 19px;
padding: 5px 2px 5px 10px; padding: 5px 2px 5px 16px;
} }
.search-item__tags { .search-item__tags {
......
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