Skip to content

Commit 85add94

Browse files
committed
fix changelog icon
1 parent 5bb9efa commit 85add94

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

src/assets/App.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,8 @@ Producthunt item
701701
overflow-x: hidden !important;
702702
}
703703
.changelogButton {
704-
width: 20px;
704+
width: auto;
705+
font-size: 12px;
705706
height: 20px;
706707
background-color: gray;
707708
border-radius: 20px;
@@ -714,13 +715,11 @@ Producthunt item
714715
border: 2px solid var(--background-color);
715716
left: -6px;
716717
top: -10px;
718+
padding:0 4px;
719+
text-transform: lowercase;
717720
color: white;
718721
}
719722
.changelogButton.active {
720-
width: auto;
721-
font-size: 12px;
722-
padding:0 4px;
723-
text-transform: lowercase;
724723
background-color: var(--tooltip-accent-color);
725724
}
726725
.changelogNewButton {

src/features/changelog/components/Changelog.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,9 @@ export const Changelog = () => {
8282
data-tip
8383
data-for={tooltipId}
8484
className={'changelogButton' + (!isChangelogRead() ? ' active' : '')}>
85-
{isChangelogRead() ? (
86-
<HiBell style={{ width: 14 }} />
87-
) : (
88-
<div className="changelogNewButton">
89-
<HiSparkles style={{ width: 14 }} /> New
90-
</div>
91-
)}
85+
<div className="changelogNewButton">
86+
<HiSparkles style={{ width: 14 }} /> {!isChangelogRead() && 'New'}
87+
</div>
9288
</span>
9389
</>
9490
)

0 commit comments

Comments
 (0)