From 165039c1771b8f39abba09738ad8c55303fbe3cc Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 24 Feb 2021 17:37:09 +0700 Subject: [PATCH] fixed username and italic overlaps --- src/components/flow/Cell/styles.module.scss | 1 - src/utils/dom.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/flow/Cell/styles.module.scss b/src/components/flow/Cell/styles.module.scss index 8a628cc8..ed6d791b 100644 --- a/src/components/flow/Cell/styles.module.scss +++ b/src/components/flow/Cell/styles.module.scss @@ -327,7 +327,6 @@ overflow: hidden; box-sizing: border-box; position: relative; - font-size: 6px; &::after { content: ' '; diff --git a/src/utils/dom.ts b/src/utils/dom.ts index ccbffb75..f10d9582 100644 --- a/src/utils/dom.ts +++ b/src/utils/dom.ts @@ -97,12 +97,12 @@ export const getURL = (file: Partial, size?: typeof PRESETS[keyof typeof export const formatText = pipe( formatTextSanitizeTags, formatTextSanitizeYoutube, - formatTextClickableUsernames, formatTextComments, formatTextTodos, formatExclamations, formatTextDash, - formatTextMarkdown + formatTextMarkdown, + formatTextClickableUsernames ); export const formatTextParagraphs = (text: string): string => (text && formatText(text)) || null;