From 1dec3b55f9ec3b734579e8679378b48a05be523f Mon Sep 17 00:00:00 2001 From: sgenoud Date: Tue, 9 Apr 2019 04:14:18 +0200 Subject: [PATCH] fix: Remove placeholder for cards without images (#1135) * Remove placeholder for cards without images * remove no longer needed svg --- bin/svgs.js | 3 +-- src/routes/_components/status/StatusCard.html | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/bin/svgs.js b/bin/svgs.js index c7d8c642..4f322b6b 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -46,6 +46,5 @@ module.exports = [ { id: 'fa-search-plus', src: 'src/thirdparty/font-awesome-svg-png/white/svg/search-plus.svg' }, { id: 'fa-share-square-o', src: 'src/thirdparty/font-awesome-svg-png/white/svg/share-square-o.svg' }, { id: 'fa-flag', src: 'src/thirdparty/font-awesome-svg-png/white/svg/flag.svg' }, - { id: 'fa-suitcase', src: 'src/thirdparty/font-awesome-svg-png/white/svg/suitcase.svg' }, - { id: 'fa-file-text', src: 'src/thirdparty/font-awesome-svg-png/white/svg/file-text.svg' } + { id: 'fa-suitcase', src: 'src/thirdparty/font-awesome-svg-png/white/svg/suitcase.svg' } ] diff --git a/src/routes/_components/status/StatusCard.html b/src/routes/_components/status/StatusCard.html index 8db759d9..03d352e1 100644 --- a/src/routes/_components/status/StatusCard.html +++ b/src/routes/_components/status/StatusCard.html @@ -6,15 +6,10 @@
{#if imageUrl} - {:else} - {/if} - {#if description} {description} - {/if}
{/if} @@ -41,7 +36,7 @@ background: transparent; } - .status-card :first-child { + .status-card :first-child:not(span) { flex-shrink: 0; } @@ -77,11 +72,9 @@