From 156c91da3b490400899bda041b2c665b1a258b02 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Fri, 11 Aug 2017 10:28:11 -0400 Subject: [PATCH] Fix the safari rendering of the sound editor --- src/components/sound-editor/sound-editor.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/sound-editor/sound-editor.css b/src/components/sound-editor/sound-editor.css index 88fb5773f..0af2f011d 100644 --- a/src/components/sound-editor/sound-editor.css +++ b/src/components/sound-editor/sound-editor.css @@ -49,7 +49,7 @@ $border-radius: 0.25rem; transition: 0.2s; } -.button img { +.button > img { flex-grow: 1; max-width: 100%; max-height: 100%; @@ -62,6 +62,10 @@ $border-radius: 0.25rem; padding-right: 10px; /* To equalize with empty whitespace from image on left */ } +.trim-button > img { + width: 1.5rem; +} + .trim-button-active { filter: hue-rotate(155deg); /* @todo replace blue -> red with real submit icon */ } -- GitLab