diff --git a/scss/components/_list.scss b/scss/components/_list.scss index 75319c29..e18e6fdb 100644 --- a/scss/components/_list.scss +++ b/scss/components/_list.scss @@ -78,7 +78,7 @@ &-placeholder { color: $text--muted-color; text-align: center; - height: $List-placeholder-height; + min-height: $List-placeholder-height; line-height: $List-placeholder-height; } } diff --git a/src/renderers/List.tsx b/src/renderers/List.tsx index da8a501c..8608162b 100644 --- a/src/renderers/List.tsx +++ b/src/renderers/List.tsx @@ -789,7 +789,9 @@ export default class List extends React.Component { )} ) : ( -
{__(placeholder)}
+
+ {render('placeholder', __(placeholder))} +
)} {this.renderFooter()}