new·Earn with mozg — 20% of every monthSend somebody here and take a fifth of every plan payment they make, for as long as they keep paying — not a bounty on the first invoice. Your handle is the link, the window is thirty days, and the commission lands on your balance the second they pay. Free to join: if you have signed in, you already have the link. mozg.sh/earnall news →
mozg.beta
Sign in

Ant Design · all subjects

css compatibility

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

BorderBeam, Checkbox and Switch reduced-motion styles

BorderBeam, Checkbox and Switch had fixes for reduced-motion styles causing Lightning CSS compression failures.

Dynamic style :where selector browser compatibility

Dynamic styling using the :where selector does not support old browsers. Refer to the Legacy Browser Compatible section in the dynamic theme documentation.

antd does not handle browser zoom precision issues

antd does not handle precision issues from browser zoom because different browsers render differently when zooming. Zoom issues typically occur at extreme zoom levels uncommon in regular use. Fixing in one browser often breaks others. Addressing requires significant browser-specific code negatively impacting performance and maintainability.

Ant Design overrides global styles

Ant Design is designed for developing a complete application and overrides some global styles by default. This is currently unavoidable. Refer to the tutorial 'How to avoid modifying global styles' in the customize theme documentation for workarounds.

Dynamic styles with :where unsupported in old browsers

Refer to the dynamic theme documentation section on compatible style for handling old browser support with dynamic styles using :where.

CSS-in-JS vs tailwindcss priority conflict

When CSS-in-JS conflicts with tailwindcss due to style priority, adjust antd style priority to override. Related issue: #38794

CSS-in-JS with Shadow DOM usage

Refer to the compatible style documentation section on Shadow DOM scenario for using CSS-in-JS with Shadow DOM.

Give your agent this brain