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:
parent
8f830b64a7
commit
165039c177
2 changed files with 2 additions and 3 deletions
|
@ -327,7 +327,6 @@
|
|||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
font-size: 6px;
|
||||
|
||||
&::after {
|
||||
content: ' ';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue