Skip to content

Commit 59d70f8

Browse files
committed
Move the .form-row patch into the RefinedModelAdmin
1 parent fd89846 commit 59d70f8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

content_editor/admin.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ def auto_icon_colors(content_editor):
125125
class RefinedModelAdmin(ModelAdmin):
126126
class Media:
127127
css = {
128-
"all": ["content_editor/tabbed_fieldsets.css"],
128+
"all": [
129+
"content_editor/django_admin_fixes.css",
130+
"content_editor/tabbed_fieldsets.css",
131+
],
129132
}
130133
js = [
131134
"content_editor/save_shortcut.js",

content_editor/static/content_editor/content_editor.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,3 @@ h3[draggable] {
459459
}
460460

461461
/* JAZZMIN end */
462-
463-
.form-row {
464-
/* Reset the value of overflow so that position: sticky works in widgets */
465-
overflow: visible;
466-
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.form-row {
2+
/* Reset the value of overflow so that position: sticky works in widgets */
3+
overflow: visible;
4+
}

0 commit comments

Comments
 (0)