Skip to content

Commit

Permalink
✨ Add arrow list style to blog
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Nov 9, 2023
1 parent 47c3fd6 commit b4b3cf1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions fragdenstaat_de/fds_cms/static/js/cms/ckeditor.wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ CKEDITOR.stylesSet.add('default', [
{ 'name': 'List Unstyled', 'element': ['ul', 'ol'], 'attributes': { 'class': 'list-unstyled' }},
{ 'name': 'List Timeline', 'element': ['ul', 'ol'], 'attributes': { 'class': 'timeline' }},
{ 'name': 'List Inline', 'element': ['ul', 'ol'], 'attributes': { 'class': 'list-inline' }},
{ 'name': 'List Arrow', 'element': ['ul'], 'attributes': { 'class': 'list-arrow' }},
{ 'name': 'Horizontal Description', 'element': 'dl', 'attributes': { 'class': 'dl-horizontal' }},

{ 'name': 'Table', 'element': 'table', 'attributes': { 'class': 'table' }},
Expand Down
11 changes: 11 additions & 0 deletions frontend/styles/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -484,3 +484,14 @@ h4.blog-list-heading {
.textarea.cke_source {
resize: auto !important;
}

/*================================
= Arrow List =
================================*/
.list-arrow {
list-style: none
}

.list-arrow > li::before {
content: ""
}

0 comments on commit b4b3cf1

Please sign in to comment.