Skip to content

Commit a680d30

Browse files
authored
Merge pull request scratchfoundation#5143 from towerofnix/selector-padding
Use list-area:after to pad scroll area
2 parents 1dce71e + b74f19e commit a680d30

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/asset-panel/selector.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,16 @@ $fade-out-distance: 100px;
5050
overflow-y: scroll;
5151
display: flex;
5252
flex-direction: column;
53+
}
54+
55+
.list-area:after {
5356
/* Make sure there is room to scroll beyond the last tile */
54-
padding-bottom: 70px;
57+
content: '';
58+
display: block;
59+
height: 70px;
60+
width: 100%;
61+
flex-shrink: 0;
62+
order: 99999999;
5563
}
5664

5765
.list-item {

0 commit comments

Comments
 (0)