Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plasma-new-hope: не хватает выразительности #1230

Open
Yeti-or opened this issue Jun 4, 2024 · 1 comment
Open

Comments

@Yeti-or
Copy link
Contributor

Yeti-or commented Jun 4, 2024

            clear: css`
                ${accordionTokens.accordionGap}: 0.125rem;
                ${accordionTokens.accordionWidth}: 20rem;
                ${accordionTokens.accordionItemPaddingRight}: 0rem !important;
                ${accordionTokens.accordionItemPaddingLeft}: 0rem !important;
Можем избавиться от important
Навешивай на рут класс (например "clear-view") а затем в файлике сайза добавь стили в этот класс с обнулением паддингов. В целом можно сделать и через два токена

accordionItemPadding: 1.0625rem 1.25rem;
accordionItemPaddingClear: 1.0625rem 0;

https://github.com/salute-developers/plasma/pull/1223/files#r1622431497

Screenshot 2024-06-04 at 10 07 02
@Yeti-or
Copy link
Contributor Author

Yeti-or commented Jun 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant