From 4b688e4ca0a2bdc9be06492b92aca4ab7a4190ef Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 19 Feb 2022 11:14:45 -0800 Subject: [PATCH] fix: Minor styling issues on simple embeds --- shared/editor/embeds/components/Simple.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/editor/embeds/components/Simple.tsx b/shared/editor/embeds/components/Simple.tsx index c760894c8..5243f9cb9 100644 --- a/shared/editor/embeds/components/Simple.tsx +++ b/shared/editor/embeds/components/Simple.tsx @@ -53,6 +53,7 @@ const Wrapper = styled.a` display: inline-flex; align-items: flex-start; gap: 4px; + box-sizing: border-box !important; color: ${(props) => props.theme.text} !important; background: ${(props) => props.theme.secondaryBackground}; white-space: nowrap; @@ -60,11 +61,11 @@ const Wrapper = styled.a` padding: 6px 8px; max-width: 840px; width: 100%; - text-overflow: ellipsis; overflow: hidden; &:hover { + text-decoration: none !important; outline: 2px solid ${(props) => props.theme.divider}; } `;