1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed username and italic overlaps

This commit is contained in:
Fedor Katurov 2021-02-24 17:37:09 +07:00
parent 8f830b64a7
commit 165039c177
2 changed files with 2 additions and 3 deletions

View file

@ -327,7 +327,6 @@
overflow: hidden;
box-sizing: border-box;
position: relative;
font-size: 6px;
&::after {
content: ' ';

View file

@ -97,12 +97,12 @@ export const getURL = (file: Partial<IFile>, 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;