From c598741f01f9ccf32d0c4bdd905f4dc58f7af806 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 26 Jul 2023 17:22:39 +0800 Subject: Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit backport #26094 Temporily resolve #25915 Related #25994 This PR includes #26007 's changes but have a UI to prompt administrator about the deprecated settings as well as the log or console warning. Then users will have enough time to notice the problem and don't have surprise like before. 图片 --- web_src/css/admin.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'web_src') diff --git a/web_src/css/admin.css b/web_src/css/admin.css index 7e50b7f63d..1423b651dd 100644 --- a/web_src/css/admin.css +++ b/web_src/css/admin.css @@ -1,3 +1,26 @@ +.admin-container { + margin-top: 15px; + display: flex !important; + gap: 16px; +} + +.admin-nav { + width: 240px; +} + +.admin-main { + flex: 1; +} + +@media (max-width: 767.98px) { + .admin-container { + flex-direction: column; + } + .admin-nav { + width: auto; + } +} + .admin.hooks .list > .item:not(:first-child) { border-top: 1px solid var(--color-secondary); padding: 0.25rem 1rem; -- cgit v1.2.3