feat: styles fix
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user