Skip to content

Commit

Permalink
fix(breadcrumb): adds word break all for items
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo225 authored Oct 30, 2024
1 parent f3bf801 commit 9b753bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/primevue/breadcrumb/breadcrumb.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ export const Default: Story = {
@mouseleave="isHovered = false"
>
<template v-if="isHovered">
<HomeFilledIcon />
<HomeFilledIcon class="-ml-2" />
</template>
<template v-else>
<HomeOutlineIcon />
<HomeOutlineIcon class="-ml-2" />
</template>
</span>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/primevue/breadcrumb/breadcrumb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const breadcrumb: BreadcrumbPassThroughOptions = {
class: tw`m-0 flex list-none flex-wrap items-center p-0 leading-none`,
},
item: {
class: tw`flex-no-wrap ris-label1-regular my-2 flex items-center`,
class: tw`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`,
},
itemLink: {
class: tw`ris-link1-regular inline-flex cursor-pointer items-center leading-tight no-underline outline-4 outline-offset-4 outline-blue-800 hover:underline focus:outline`,
Expand Down

0 comments on commit 9b753bd

Please sign in to comment.