Skip to content

Commit

Permalink
truncate contributors name in filter tag with ellipis (hackforla#7052)
Browse files Browse the repository at this point in the history
  • Loading branch information
aadilahmed authored and terrencejihoonjung committed Jul 13, 2024
1 parent 82878e5 commit 501535a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion _sass/components/_toolkit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@
flex-direction: column;

.filter-tag {
overflow-x: auto;
overflow-x: hidden;
overflow-y: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 300px;
}

a {
Expand Down
5 changes: 3 additions & 2 deletions _sass/elements/_dropdown_filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,10 @@ border-radius: 2.5px;
font-size: 15px;
text-transform: capitalize;

&::after {
&::before {
content: "\00d7";
padding-left: 0.5em;
padding-left: 0.75em;
float: right;
}

&:hover,
Expand Down

0 comments on commit 501535a

Please sign in to comment.