diff --git a/app/scripts/views/icon-select-view.js b/app/scripts/views/icon-select-view.js index 34e35938..0434285c 100644 --- a/app/scripts/views/icon-select-view.js +++ b/app/scripts/views/icon-select-view.js @@ -21,11 +21,14 @@ class IconSelectView extends View { }; render() { + const customIcons = this.model.file.getCustomIcons(); + const hasCustomIcons = Object.keys(customIcons).length > 0; super.render({ sel: this.model.iconId, icons: IconMap, canDownloadFavicon: !!this.model.url, - customIcons: this.model.file.getCustomIcons() + customIcons, + hasCustomIcons }); } diff --git a/app/styles/common/_icon-select.scss b/app/styles/common/_icon-select.scss index 8b70564f..7aba402a 100644 --- a/app/styles/common/_icon-select.scss +++ b/app/styles/common/_icon-select.scss @@ -7,7 +7,8 @@ flex-wrap: wrap; user-select: none; padding-bottom: $base-padding-h; - &--custom { + &--custom, + &--actions { padding-top: $base-padding-h; border-top: 1px solid var(--light-border-color); } diff --git a/app/templates/icon-select.hbs b/app/templates/icon-select.hbs index 745b1dd1..9ba4342e 100644 --- a/app/templates/icon-select.hbs +++ b/app/templates/icon-select.hbs @@ -4,11 +4,11 @@ {{/each}} -