fix: fixing the spaced classNames

This commit is contained in:
dvelo 2024-08-08 18:02:46 -05:00
parent 9303f74b1c
commit c7e14c159b
12 changed files with 99 additions and 101 deletions

@ -42,7 +42,7 @@ export function IconDisplayClient(props: { server: string }) {
useEffect(() => {
fetch(
"https://api.minehut.com/server/" + props.server + "?byName=true",
"https://api.minehut.com/server/" + props.server + "?byName=true"
).then((b) => b.json().then((c) => setIcon(c.server.icon)));
}, []);

@ -11,9 +11,7 @@ export default function Component(props: {
<Card className={props.className}>
{props.children}
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className=" text-sm font-medium m-0">
{props.title}
</CardTitle>
<CardTitle className="text-sm font-medium m-0">{props.title}</CardTitle>
<props.icon className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>

@ -12,7 +12,7 @@ export default function LoggedInPopover() {
<div className="grid w-full">
<strong className="text-center">Logged in as {user?.username}</strong>
<small className="text-center">
Make comments about servers and favorite servers. Secured by Clerk
Make comments about servers and favorite servers. Secured by Clerk
</small>
<br />
<Button