From 9a21d77637347301937868b2c2898b37c642035b Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:50:35 -0500 Subject: [PATCH] Fixes css for link previews --- stylesheets/components/CompositionInput.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stylesheets/components/CompositionInput.scss b/stylesheets/components/CompositionInput.scss index 271298dbe6bb..1b87970857ba 100644 --- a/stylesheets/components/CompositionInput.scss +++ b/stylesheets/components/CompositionInput.scss @@ -106,8 +106,6 @@ } &--link-preview { - min-height: 110px; - max-height: 200px; padding-top: 0; } } @@ -228,6 +226,7 @@ div.CompositionInput__link-preview { &__no-image { margin-right: 0; + min-width: 74px; } } @@ -249,5 +248,9 @@ button.CompositionInput__link-preview__close-button { content: ''; height: 16px; width: 16px; + + @include dark-theme { + background-color: $color-gray-05; + } } }