From acc41c21d96ae46702b9b1602edb1aada89bdf2e Mon Sep 17 00:00:00 2001 From: "s.esmaeili" Date: Mon, 14 Sep 2026 17:22:46 +0330 Subject: [PATCH] admin-panel: import ant-design-vue 4 reset.css (fixes unstyled page) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ADV4 upgrade dropped the old `ant-design-vue/dist/antd.less` import but never added its replacement. ADV4 injects each COMPONENT's styles at runtime via CSS-in-JS, but NOT the global baseline — that ships separately as dist/reset.css and must be imported explicitly. Without it the page lost box-sizing, the body margin reset and the browser default list/heading resets, so the layout rendered unstyled. Verified in a real headless browser this time, not just a green build: reset.css now resolves through LESS and its rules are present in the built CSS, the CSS-in-JS engine injects component styles (14