dashlist: scroll fix when no header

The first item in the dashlist has a margin that messes up
the height calculation for the scroll bar when the Show headings
option is not selected. This fix adds a margin-top set to 0 for
the 1st item in the list in this case. This prevents a scrollbar
being shown incorrectly. Fixes #10772
This commit is contained in:
Daniel Lee
2018-02-05 19:18:20 +01:00
parent 1a8501450c
commit 5d756707ab
2 changed files with 5 additions and 1 deletions

View File

@@ -21,4 +21,8 @@
.fa-star {
color: $orange;
}
&--no-margintop {
margin-top: 0;
}
}