Skip to content

Commit 06bbf15

Browse files
authored
swap out svg for hashtag, minor style updates (#238)
1 parent e41595b commit 06bbf15

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/com/tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const TagBadge = {
112112
};
113113
return (
114114
<div tabindex="1" class="badge flex flex-row items-center" onkeydown={onkeydown} >
115-
<svg style={{width: "1rem", height: "1rem", marginRight: "0.25rem"}} xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line></svg>
115+
<span>#&nbsp;</span>
116116
<div style={{whiteSpace: "nowrap"}}>{component.name}</div>
117117
</div>
118118
)

web/static/app/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,14 @@ button.primary {
6565
border: 1px solid var(--color-background);
6666
background: var(--color-highlight);
6767
line-height: var(--body-line-height);
68+
font-size: var(--text-small);
6869
}
6970
.badge:focus {
7071
border: 1px solid var(--color-outline);
7172
}
73+
.badge span {
74+
color: var(--color-icon-secondary);
75+
}
7276

7377
p {
7478
margin-block-start: var(--padding);

0 commit comments

Comments
 (0)