Skip to content

Commit

Permalink
Fix: Styles for HTMLFields
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Sep 3, 2024
1 parent 89e1386 commit 50c3ec0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
==================

* feat: Make HTMLField resizable
* fix: Reset some style for HTMLFields


0.2.2 / 0.2.1 (20-08-2024)
Expand Down
11 changes: 10 additions & 1 deletion djangocms_text/static/djangocms_text/css/cms.normalize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.app-djangocms_text.model-text.change-form .cms-editor-inline-wrapper.fixed {
body.change-form .cms-editor-inline-wrapper.fixed {
background: var(--dca-white) !important;
color: var(--dca-black) !important;
font-size: 1rem !important;
Expand Down Expand Up @@ -51,4 +51,13 @@
border: none;
border-top: 1px solid var(--dca-gray-lighter);
}
ul {
display: block;
list-style: disc outside none;
margin: 0;
padding: 0 0 0 40px;
}
li {
list-style: inherit;
}
}
1 change: 1 addition & 0 deletions djangocms_text/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Media:
**rte_config.css,
"all": (
"djangocms_text/css/cms.text.css",
"djangocms_text/css/cms.normalize.css",
*rte_config.css.get("all", ()),
),
}
Expand Down

0 comments on commit 50c3ec0

Please sign in to comment.