Skip to content

Commit f5aa042

Browse files
pandafynemesifier
authored andcommitted
[fix] Django 5.2: Updated CSS to fix styling of collapsable fieldset
On Django 5.2, the heading for collapsable fieldset were not rendered in OpenWISP colors.
1 parent 5b6d529 commit f5aa042

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: openwisp_utils/admin_theme/static/admin/css/openwisp.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,16 @@ a.section:visited:focus,
158158
.module caption,
159159
.inline-group h2,
160160
fieldset.module h2,
161+
#content-main fieldset.module summary,
161162
.selector .selector-available-title,
162163
.selector .selector-chosen-title {
163164
background: #f9f9f9;
164165
color: #333;
165166
padding: 15px;
166167
}
168+
#content-main fieldset.module summary {
169+
border-color: var(--hairline-color);
170+
}
167171
table thead th.sorted .sortoptions a.sortremove:focus:after,
168172
table thead th.sorted .sortoptions a.sortremove:hover:after,
169173
a:link,
@@ -877,7 +881,7 @@ input[type="button"]:hover,
877881
.title-wrapper h2::after {
878882
content: ")";
879883
}
880-
#content.title-wrapper .object-tools {
884+
#content .title-wrapper .object-tools {
881885
margin-top: -4px;
882886
margin-bottom: 20px;
883887
}

0 commit comments

Comments
 (0)