From 854ed087102a72c9014186b1a9a8ce04f9862032 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Tue, 18 Jul 2017 14:55:45 +0200 Subject: [PATCH] :bug: Fix the bulletpoints in the paragraph block --- CHANGELOG.md | 1 + src/moore/static/sass/partials/blocks/_all.scss | 1 + src/moore/static/sass/partials/blocks/_overlay.scss | 2 ++ src/moore/static/sass/partials/blocks/_paragraph.scss | 10 ++++++++++ 4 files changed, 14 insertions(+) create mode 100644 src/moore/static/sass/partials/blocks/_paragraph.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index d0fa82f5..eb45115f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Materialize Textarea markup of the materialize_field tag - The standard image formating rules in the rich text editor +- The bullet points of an unordered list in the paragraph block ## [0.6.0] ### Added diff --git a/src/moore/static/sass/partials/blocks/_all.scss b/src/moore/static/sass/partials/blocks/_all.scss index 08ae6c92..df0d6fa0 100644 --- a/src/moore/static/sass/partials/blocks/_all.scss +++ b/src/moore/static/sass/partials/blocks/_all.scss @@ -5,4 +5,5 @@ @import "logos"; @import "news"; @import "overlay"; +@import "paragraph"; @import "richtext-image"; diff --git a/src/moore/static/sass/partials/blocks/_overlay.scss b/src/moore/static/sass/partials/blocks/_overlay.scss index 9c318231..466131d5 100644 --- a/src/moore/static/sass/partials/blocks/_overlay.scss +++ b/src/moore/static/sass/partials/blocks/_overlay.scss @@ -1,3 +1,5 @@ +@import "../base"; + .block-overlay .overlay { background: #fff no-repeat center center; background-size: cover; diff --git a/src/moore/static/sass/partials/blocks/_paragraph.scss b/src/moore/static/sass/partials/blocks/_paragraph.scss new file mode 100644 index 00000000..3ee92ec2 --- /dev/null +++ b/src/moore/static/sass/partials/blocks/_paragraph.scss @@ -0,0 +1,10 @@ +@import "../base"; + +.block-paragraph { + ul { + padding-left: 40px; + &, li { + list-style-type: disc; + } + } +} \ No newline at end of file