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

fix(components/breadcrumbs): Added option to show only icon in breadcrumb, removing 8px gap and empty text padding. #222

Merged
merged 3 commits into from
Apr 28, 2023

Conversation

digital-plant-guard
Copy link
Contributor

  1. Добавлена возможность отображать только иконку в "хлебной крошке". Ранее отображался гэп 8px + отступы от пустого текста.
    image

  2. [DevOnly] Сделал BreadcrumbsCompoentn дженериком. Ранее крошки, приходящие в событие (breadcrumbChange) приходилось кастить as OurBreadcrumbs хотя в него мы получали именно те данные, которые мы передавали в компонент

@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 748c107):

https://prizmui--pr222-fix-breadcrumbs-icon-um1jwh8b.web.app

(expires Tue, 02 May 2023 18:56:48 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 2a7a6ffb1b98d3f03fb1ef68a470776e775db980

@ZurabDev ZurabDev changed the title Fix/breadcrumbs icon only fix(components/breadcrumbs): Added option to show only icon in breadcrumb, removing 8px gap and empty text padding. Apr 28, 2023
@ZurabDev ZurabDev merged commit 3b85573 into zyfra:main Apr 28, 2023
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

Successfully merging this pull request may close these issues.

3 participants