From 74f2167a2bf76a3417a9e3663e797769c078324e Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 4 Oct 2022 15:39:33 +1100 Subject: [PATCH] fix: fix rendering of link preview when no images are found --- stylesheets/_modules.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 2752e4a6c..f7b11b558 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -147,7 +147,6 @@ .module-message__link-preview { cursor: pointer; - display: flex; align-items: center; background: white; @@ -158,13 +157,17 @@ .module-image { margin: -1px; } + + &__text { + padding-block: var(--margins-sm); + } } .module-message__link-preview__content { padding: 0 0 var(--margins-xs) 0; display: flex; flex-direction: row; - align-items: flex-start; + align-items: center; flex-grow: 1; margin-left: var(--margins-sm); }