File tree Expand file tree Collapse file tree
features/changelog/components Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments