Skip to content

Commit d755f4d

Browse files
authored
Merge pull request #255 from medyo/fix-minor-bugs
fix: update UserTags to display tag labels instead of values
2 parents 19c04b3 + 45955da commit d755f4d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/assets/App.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,11 @@ a {
396396
border: 1px solid var(--chip-border-color);
397397
background-color: var(--chip-background);
398398
font-size: 0.9em;
399+
400+
max-width: 80px;
401+
white-space: nowrap;
402+
overflow: hidden;
403+
text-overflow: ellipsis;
399404
}
400405
.blockHeaderIcon {
401406
display: flex;

src/components/Elements/UserTags/UserTags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const UserTags = () => {
2727
<div className="tags">
2828
{userSelectedTags.map((tag, index) => (
2929
<button key={index} className="tag tagHoverable" onClick={() => onTagClicked(tag.value)}>
30-
{tag.value}
30+
{tag.label}
3131
</button>
3232
))}
3333
<Link to="/settings/topics" className="tag tagHoverable" aria-label="Open settings">

0 commit comments

Comments
 (0)