From a728ed13e1718f795d41c022273b6604b72e221b Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 8 Aug 2019 15:41:47 -0700 Subject: [PATCH] Prevent a change in height when switching from a dir to a file --- ui/app/styles/core/buttons.scss | 2 +- ui/app/templates/components/task-file.hbs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/app/styles/core/buttons.scss b/ui/app/styles/core/buttons.scss index bad307ee8c2..41a90d585e1 100644 --- a/ui/app/styles/core/buttons.scss +++ b/ui/app/styles/core/buttons.scss @@ -30,7 +30,7 @@ $button-box-shadow-standard: 0 2px 0 0 rgba($grey, 0.2); &.is-compact { padding: 0.25em 0.75em; - margin: -0.25em -0.25em -0.25em 0; + margin: -0.25em 0; &.pull-right { margin-right: -1em; diff --git a/ui/app/templates/components/task-file.hbs b/ui/app/templates/components/task-file.hbs index 20faa4b4a3a..bed5c27620f 100644 --- a/ui/app/templates/components/task-file.hbs +++ b/ui/app/templates/components/task-file.hbs @@ -9,14 +9,14 @@ {{#if (not fileTypeIsUnknown)}} - View Raw File + View Raw File {{/if}} {{#if (and isLarge isStreamable)}} - - + + {{/if}} {{#if isStreamable}} - {{/if}}