mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 04:44:23 +01:00
chore(breadcrumb): add text span for hiding them at some point
This commit is contained in:
parent
d2da1ed1e7
commit
be923ad2b7
@ -93,7 +93,7 @@ function StatusBarDropdown({ children, icon, text, buttonClassName, titleOptions
|
||||
}}
|
||||
text={<>
|
||||
{icon && (<><Icon icon={icon} /> </>)}
|
||||
{text}
|
||||
<span className="text">{text}</span>
|
||||
</>}
|
||||
{...dropdownProps}
|
||||
>
|
||||
@ -138,7 +138,7 @@ function StatusBarButton({ className, icon, text, title, active, ...restProps }:
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Icon icon={icon} /> {text}
|
||||
<Icon icon={icon} /> <span className="text">{text}</span>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user