Merge branch 'feature/rich_text_editor' of https://code.gab.com/gab/social/gab-social into develop

This commit is contained in:
mgabdev
2020-06-17 16:45:45 -04:00
23 changed files with 1181 additions and 293 deletions

View File

@@ -122,6 +122,11 @@ body {
overscroll-behavior-y: none;
}
code,
pre {
font-family: monospace !important;
}
.overflowYScroll {
overflow: hidden;
overflow-y: scroll;
@@ -166,11 +171,29 @@ body {
margin-bottom: 0.5rem;
}
.statusContent h1 * {
font-size: var(--fs_xl) !important;
}
.statusContent ul,
.statusContent ol {
list-style-type: disc;
padding-left: 40px;
margin: 0;
margin: 0.5rem 0;
}
.statusContent ul {
/* list-style-type: disc; */
}
.statusContent ol {
/* list-style-type: disc; */
}
.statusContent code {
background-color: var(--border_color_secondary);
color: var(--text_color_secondary) !important;
font-size: var(--fs_n) !important;
padding: 0.25em 0.5em;
}
.dangerousContent,
@@ -1009,6 +1032,7 @@ body {
font-size: var(--fs_l);
} */
.statusContent blockquote,
:global(.RichEditor-blockquote) {
border-left: 5px solid var(--border_color_secondary);
color: var(--text_color_secondary);
@@ -1017,11 +1041,14 @@ body {
padding: 10px 20px;
}
.statusContent pre,
:global(.public-DraftStyleDefault-pre) {
background-color: rgba(0,0,0,.05);
font-family: 'Inconsolata', 'Menlo', 'Consolas', monospace;
font-size: var(--fs_l);
padding: 10px 20px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
/* */