Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/style.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/css/style.scss b/css/style.scss
index 11afde3b4..0a79fb5a6 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -30,6 +30,10 @@
.ProseMirror pre {
white-space: pre-wrap;
+ background-color: var(--color-background-dark);
+ border-radius: 5px;
+ padding: 5px;
+ padding-left: 11px;
}
.ProseMirror li {
@@ -297,7 +301,8 @@ li.ProseMirror-selectednode:after {
margin-left: 0; margin-right: 0;
}
-.ProseMirror-example-setup-style img {
+.ProseMirror-example-setup-style img,
+.ProseMirror img {
cursor: default;
max-height: 50vh;
max-width: 100%;