﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36312	dark_mode.css has invalid size units for svg in Safari	Christian Wiegand	Ahmed Nassar	"In django admin the javascript console shows some error messages

{{{
Error: Invalid value for <svg> attribute width=""1.5rem""
}}}

This ist caused by an invalid size unit ""1.5rem"" in the django/contrib/admin/static/admin/css/dark_mode.css:

{{{
.theme-toggle svg {
    vertical-align: middle;
    height: 1.5rem;
    width: 1.5rem;
    display: none;
}
}}}

According to the specs svg doesn't allow ""rem"" as a valid unit (although some browsers will set the correct size).

"	Cleanup/optimization	closed	contrib.admin	dev	Normal	fixed	admin css	Fabian Braun	Ready for checkin	1	0	0	0	0	0
