Commit 953bdc4d by Patrick O'Carroll

put folder name under dashboard name, tweaked aliginments in search results

parent 1599806b
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
<i class="gicon mini gicon-dashboard-list"></i> <i class="gicon mini gicon-dashboard-list"></i>
</span> </span>
<span class="search-item__body" ng-click="ctrl.onItemClick(item)"> <span class="search-item__body" ng-click="ctrl.onItemClick(item)">
<div class="search-item__body-title">{{::item.title}} <span ng-if="!section.url" class="search-item__body-folder-title">{{::item.folderTitle}}</span></div> <div class="search-item__body-title">{{::item.title}}</div>
<span class="search-item__body-folder-title">{{::item.folderTitle}}</span>
</span> </span>
<span class="search-item__tags"> <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"> <span ng-click="ctrl.selectTag(tag, $event)" ng-repeat="tag in item.tags" tag-color-from-name="tag" class="label label-tag">
......
...@@ -210,18 +210,20 @@ ...@@ -210,18 +210,20 @@
.search-item__body-title { .search-item__body-title {
color: $list-item-link-color; color: $list-item-link-color;
line-height: 14px;
} }
.search-item__body-folder-title { .search-item__body-folder-title {
color: $text-color-weak; color: $text-color-weak;
padding-left: 0.25rem;
font-size: $font-size-xs; font-size: $font-size-xs;
line-height: 11px;
} }
.search-item__icon { .search-item__icon {
padding: 5px; padding: 5px;
flex: 0 0 auto; flex: 0 0 auto;
font-size: 19px; font-size: 19px;
line-height: 22px;
padding: 5px 2px 5px 10px; padding: 5px 2px 5px 10px;
} }
......
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