From 474b6e6dade7c156e812c96fe96ae14aec92c199 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 28 Mar 2018 08:56:35 -0700 Subject: [PATCH] replace × with svg x icon --- bin/svgs.js | 3 ++- routes/_components/compose/ComposeMedia.html | 16 +++++++++------- routes/_components/dialog/ModalDialog.html | 13 ++++++++----- templates/2xx.html | 1 + 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/bin/svgs.js b/bin/svgs.js index ec5e841..8855872 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -32,5 +32,6 @@ module.exports = [ {id: 'fa-check', src: 'node_modules/font-awesome-svg-png/white/svg/check.svg', title: 'Check'}, {id: 'fa-trash', src: 'node_modules/font-awesome-svg-png/white/svg/trash-o.svg', title: 'Delete'}, {id: 'fa-hourglass', src: 'node_modules/font-awesome-svg-png/white/svg/hourglass.svg', title: 'Follow requested'}, - {id: 'fa-pencil', src: 'node_modules/font-awesome-svg-png/white/svg/pencil.svg', title: 'Compose'} + {id: 'fa-pencil', src: 'node_modules/font-awesome-svg-png/white/svg/pencil.svg', title: 'Compose'}, + {id: 'fa-times', src: 'node_modules/font-awesome-svg-png/white/svg/times.svg', title: 'Close'} ] diff --git a/routes/_components/compose/ComposeMedia.html b/routes/_components/compose/ComposeMedia.html index 2b7b15b..2a5d93c 100644 --- a/routes/_components/compose/ComposeMedia.html +++ b/routes/_components/compose/ComposeMedia.html @@ -5,9 +5,11 @@ {{mediaItem.file.name}}
@@ -74,17 +76,17 @@ margin: 2px; } .compose-media-delete-button { - padding: 0 0 7px; + padding: 10px; background: none; border: none; } .compose-media-delete-button:hover { background: var(--toast-border); } - .compose-media-delete-button span { - padding: 0 10px 7px; - font-size: 32px; - color: var(--button-text); + .compose-media-delete-button-svg { + fill: var(--button-text); + width: 18px; + height: 18px; }