Skip to content

Commit 50c3ec0

Browse files
committed
Fix: Styles for HTMLFields
1 parent 89e1386 commit 50c3ec0

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changelog
66
==================
77

88
* feat: Make HTMLField resizable
9+
* fix: Reset some style for HTMLFields
910

1011

1112
0.2.2 / 0.2.1 (20-08-2024)

djangocms_text/static/djangocms_text/css/cms.normalize.css

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.app-djangocms_text.model-text.change-form .cms-editor-inline-wrapper.fixed {
1+
body.change-form .cms-editor-inline-wrapper.fixed {
22
background: var(--dca-white) !important;
33
color: var(--dca-black) !important;
44
font-size: 1rem !important;
@@ -51,4 +51,13 @@
5151
border: none;
5252
border-top: 1px solid var(--dca-gray-lighter);
5353
}
54+
ul {
55+
display: block;
56+
list-style: disc outside none;
57+
margin: 0;
58+
padding: 0 0 0 40px;
59+
}
60+
li {
61+
list-style: inherit;
62+
}
5463
}

djangocms_text/widgets.py

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Media:
3030
**rte_config.css,
3131
"all": (
3232
"djangocms_text/css/cms.text.css",
33+
"djangocms_text/css/cms.normalize.css",
3334
*rte_config.css.get("all", ()),
3435
),
3536
}

0 commit comments

Comments
 (0)