Skip to content

Commit 51632bd

Browse files
Fatimahlnielsen
authored andcommitted
editor: added css for editor rendered output
1 parent 8ccd805 commit 51632bd

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,3 +636,18 @@ code {
636636
list-style-type: none !important;
637637
}
638638
}
639+
640+
/* TinyMCE Editor Output */
641+
.rich-input-content
642+
{
643+
table, td, th {
644+
border: 1px dashed @lightGray;
645+
border-collapse: collapse;
646+
padding: 1rem;
647+
}
648+
}
649+
blockquote{
650+
border-left: 4px solid @lightGray;
651+
margin-left: 1.5rem;
652+
padding-left: 1rem;
653+
}

invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@mutedTextColor : #757575;
1414
@textMutedColorDarken: #4A4A4A;
15-
15+
@lightGray: #C5C5C5;
1616
@neutralColor: @grey;
1717
@darkGray: #333;
1818
@warningColor: @yellow;

0 commit comments

Comments
 (0)