mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-25 17:14:35 +01:00
format project with plugins
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ParentComponent } from "solid-js";
|
||||
|
||||
import info from "~/assets/icons/info.svg";
|
||||
|
||||
export const InfoBox: ParentComponent<{
|
||||
@@ -6,7 +7,7 @@ export const InfoBox: ParentComponent<{
|
||||
}> = (props) => {
|
||||
return (
|
||||
<div
|
||||
class="grid grid-cols-[auto_minmax(0,_1fr)] rounded-xl px-4 py-2 md:p-4 gap-4 bg-neutral-950/50 border"
|
||||
class="grid grid-cols-[auto_minmax(0,_1fr)] gap-4 rounded-xl border bg-neutral-950/50 px-4 py-2 md:p-4"
|
||||
classList={{
|
||||
"border-m-red": props.accent === "red",
|
||||
"border-m-blue bg-m-blue/10": props.accent === "blue",
|
||||
@@ -15,7 +16,7 @@ export const InfoBox: ParentComponent<{
|
||||
}}
|
||||
>
|
||||
<div class="self-center">
|
||||
<img src={info} alt="info" class="w-8 h-8" />
|
||||
<img src={info} alt="info" class="h-8 w-8" />
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<p class="text-sm font-light">{props.children}</p>
|
||||
|
||||
Reference in New Issue
Block a user