diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-13 00:37:59 +0300 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-13 00:37:59 +0300 |
commit | a2ee8f1350082aeff786c25f30c131123a8409c9 (patch) | |
tree | 3850a19a87e753f5ae39c563f42b0bb00f9bb629 | |
parent | 3628d056d578e7965c8c53fec2b377c7d2727deb (diff) |
Adjust code block and inline code design
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r-- | css/prosemirror.scss | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss index 34817255a..c32d8a31d 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -95,9 +95,15 @@ .ProseMirror pre { white-space: pre-wrap; background-color: var(--color-background-dark); - border-radius: 5px; - padding: 5px; - padding-left: 11px; + border-radius: var(--border-radius); + padding: 1em 1.3em; + margin-bottom: 1em; +} + +.ProseMirror p code { + background-color: var(--color-background-dark); + border-radius: var(--border-radius); + padding: .1em .3em; } .ProseMirror li { |