ant-design / ant-design/cssinjs

【feature】能否支持兼容flex gap和margin-inline转margin-left,margin-right

Open
#186 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
287
Forks
80
PR merge metrics
No merged PRs in 30d

Description

# 目前期望使用antd5,并且需要支持chrome78版本。期望对部分属性通过类似hashPriority方式支持,能否通过工程化配置支持。
- Flex,Space组件都使用了flex gap组合支持到84
- padding-inline仅支持到chrome87
![image](https://github.com/ant-design/cssinjs/assets/43233310/d77ad8a2-09ea-4277-9562-8f4e75c058ce)

![image](https://github.com/ant-design/cssinjs/assets/43233310/5a3d32ee-769f-43c5-ac4d-b79676920139)

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing hashPriority configuration and the style-generation paths used by Flex and Space, focusing on flex gap, padding-inline, and margin-inline. Define how an opt-in compatibility configuration should provide fallbacks for Chrome 78, then add coverage for the generated styles. The issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.