Skip to content

Commit

Permalink
fix(file-upload-item): fix content text truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
Haskiro committed Jan 24, 2025
1 parent 9e991b5 commit cea5e75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-swans-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@alfalab/core-components-file-upload-item': patch
---

Поправлено обрезание длинного текста при truncate: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

.container {
padding: var(--gap-2) 0 0 var(--gap-16);
width: 100%;
flex-grow: 1;
min-width: 0;
cursor: pointer;

&.single {
Expand All @@ -19,10 +20,8 @@

& .title {
margin-bottom: var(--gap-4);
}

& .title {
display: block;
overflow-wrap: break-word;

&.truncate {
white-space: nowrap;
Expand Down

0 comments on commit cea5e75

Please sign in to comment.