Merge pull request #12128 from grafana/11056-folder-m

added span with folder title that is shown for recently and starred
This commit is contained in:
Torkel Ödegaard 2018-09-21 16:49:43 +02:00 committed by GitHub
commit 4022374181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@
</span>
<span class="search-item__body" ng-click="ctrl.onItemClick(item)">
<div class="search-item__body-title">{{::item.title}}</div>
<span class="search-item__body-folder-title">{{::item.folderTitle}}</span>
</span>
<span class="search-item__tags">
<span ng-click="ctrl.selectTag(tag, $event)" ng-repeat="tag in item.tags" tag-color-from-name="tag" class="label label-tag">

View File

@ -210,12 +210,20 @@
.search-item__body-title {
color: $list-item-link-color;
line-height: 14px;
}
.search-item__body-folder-title {
color: $text-color-weak;
font-size: $font-size-xs;
line-height: 11px;
}
.search-item__icon {
padding: 5px;
flex: 0 0 auto;
font-size: 19px;
line-height: 22px;
padding: 5px 2px 5px 10px;
}