Skip to content

Commit 3d7eb2a

Browse files
committed
#RI-6344 - fix button size
1 parent fe8e74b commit 3d7eb2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

redisinsight/ui/src/pages/home/components/database-list-header/DatabaseListHeader.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,12 @@ const DatabaseListHeader = ({ onAddInstance }: Props) => {
8282
const AddInstanceBtn = () => (
8383
<EuiButton
8484
fill
85-
size={isShowPromoBtn ? 'm' : 's'}
8685
color="secondary"
8786
onClick={handleOnAddDatabase}
8887
className={styles.addInstanceBtn}
8988
data-testid="add-redis-database-short"
9089
>
91-
{!isShowPromoBtn ? (<span>+ DB</span>) : (<span>+ Add Redis database</span>)}
92-
90+
<span>+ Add Redis database</span>
9391
</EuiButton>
9492
)
9593

0 commit comments

Comments
 (0)