ant-design Remove inline styling from ant components (props)

tag5nh1u  于 2022-12-31  发布在  其他
关注(0)|答案(3)|浏览(176)
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Right now some components like aside navigation etc. have some of the styles by default in html structure, and some of them in css files. It makes the whole styling process way more complicated then it should be, and forces a front-end developer to split their work in two (by using css and props).

What does the proposed API look like?

Everything that relates to styling should be moved to CSS for easier and more consistent work. Elements like aside should not contain any inline styles when rendered and should get all styling from .css file/s.

qvsjd97n

qvsjd97n1#

Elements like aside should not contain any inline styles

Could you point exactly what the inline styles are?

7vhp5slm

7vhp5slm2#

Elements like aside should not contain any inline styles

Could you point exactly what the inline styles are?

Seems width or something related...

相关问题