mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-30 19:41:30 +02:00
change font weight
This commit is contained in:
@@ -35,7 +35,7 @@ export const EmptyState = ({
|
||||
}
|
||||
>
|
||||
<SquareIcon icon={icon} className={"mb-3"} />
|
||||
<p className={"text-base font-semibold text-nb-gray-200 mb-1"}>{title}</p>
|
||||
<p className={"text-base font-medium text-nb-gray-200 mb-1"}>{title}</p>
|
||||
{description && <p className={"text-sm text-nb-gray-350"}>{description}</p>}
|
||||
{learnMoreUrl && learnMoreTopic && (
|
||||
<p className={"text-sm text-nb-gray-350"}>
|
||||
|
||||
@@ -9,17 +9,14 @@ type Props = {
|
||||
description?: string;
|
||||
};
|
||||
|
||||
export const NoResults = ({
|
||||
icon = FunnelXIcon,
|
||||
title,
|
||||
description,
|
||||
}: Props) => {
|
||||
export const NoResults = ({ icon = FunnelXIcon, title, description }: Props) => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<EmptyState
|
||||
icon={icon}
|
||||
title={title ?? t("common.noResults.title")}
|
||||
description={description ?? t("common.noResults.description")}
|
||||
className={"relative -top-3.5"}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -319,7 +319,7 @@ export const ConnectionStatusSwitch = () => {
|
||||
<div className={"flex flex-col items-center"}>
|
||||
<h1
|
||||
className={
|
||||
"text-sm font-semibold text-nb-gray-200 tracking-wide transition-colors duration-300 select-none wails-no-draggable mb-1"
|
||||
"text-sm font-medium text-nb-gray-200 tracking-wide transition-colors duration-300 select-none wails-no-draggable mb-1"
|
||||
}
|
||||
>
|
||||
{t(STATUS_KEY[connState])}
|
||||
|
||||
Reference in New Issue
Block a user