feat: styles fix

This commit is contained in:
2025-06-06 15:57:00 +03:00
parent a8356d9f20
commit b3bb15dff7
2 changed files with 24 additions and 9 deletions

View File

@@ -4,8 +4,8 @@ type BlockProps = PropsWithChildren<{ name?: string }>;
const Block: React.FC<BlockProps> = ({ children, name = "" }) => {
return (
<div className="flex h-fit w-full flex-col items-center gap-2.5 rounded-lg bg-[var(--tg-theme-section-bg-color)] py-1.5 shadow-md">
{name && <span className="text-semibold text-sm">{name}</span>}
<div className="flex h-fit w-full flex-col items-center gap-2.5 rounded-lg bg-[var(--tg-theme-section-bg-color)] py-2.5 shadow-md">
{name && <span className="text-semibold text-lg">{name}</span>}
{children}
</div>
);