fix: css fix, found a better way to fix #10772

This commit is contained in:
Torkel Ödegaard 2018-02-06 13:01:23 +01:00
parent f1f8c23206
commit f54ba20783
2 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,7 @@
{{group.header}} {{group.header}}
</h6> </h6>
<div class="dashlist-item" ng-repeat="dash in group.list"> <div class="dashlist-item" ng-repeat="dash in group.list">
<a class="dashlist-link dashlist-link-{{dash.type}}" ng-class="{'dashlist-link--no-section-header ':$first && !ctrl.panel.headings}" href="{{dash.url}}"> <a class="dashlist-link dashlist-link-{{dash.type}}" href="{{dash.url}}">
<span class="dashlist-title"> <span class="dashlist-title">
{{dash.title}} {{dash.title}}
</span> </span>

View File

@ -5,6 +5,7 @@
.dashlist-section { .dashlist-section {
margin-bottom: $spacer; margin-bottom: $spacer;
padding-top: 3px;
} }
.dashlist-link { .dashlist-link {
@ -21,8 +22,4 @@
.fa-star { .fa-star {
color: $orange; color: $orange;
} }
&--no-section-header {
margin-top: 0;
}
} }