fix: update field component
This commit is contained in:
@@ -9,3 +9,4 @@ refs/public/placeholder-logo.svg
|
|||||||
refs/public/placeholder-logo.png
|
refs/public/placeholder-logo.png
|
||||||
refs/public/placeholder.svg
|
refs/public/placeholder.svg
|
||||||
web/audit/cdp-audit*.txt
|
web/audit/cdp-audit*.txt
|
||||||
|
css-lint.txt
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Field from "./Field.svelte";
|
import Field from "./layout/Field.svelte";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
label: string;
|
label: string;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Field from "./Field.svelte";
|
import Field from "./layout/Field.svelte";
|
||||||
|
|
||||||
interface Option {
|
interface Option {
|
||||||
value: string;
|
value: string;
|
||||||
|
|||||||
+5
-5
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { Snippet } from "svelte";
|
import type { Snippet } from "svelte";
|
||||||
import MonoLabel from "./MonoLabel.svelte";
|
import MonoLabel from "../MonoLabel.svelte";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
label: string;
|
label: string;
|
||||||
@@ -20,16 +20,16 @@
|
|||||||
.field {
|
.field {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.3rem;
|
gap: var(--space-s);
|
||||||
}
|
}
|
||||||
.field-control {
|
.field-control {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: var(--space-m);
|
||||||
}
|
}
|
||||||
.field-hint {
|
.field-hint {
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono);
|
||||||
font-size: 10px;
|
font-size: var(--font-text);
|
||||||
color: var(--muted);
|
color: var(--color-text-muted);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user