Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small changes ed #9022

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions front/components/WorkspacePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function WorkspacePicker({
<Button
label={workspace ? workspace.name : "Select workspace"}
variant="ghost"
size="xs"
isSelect
/>
</DropdownMenuTrigger>
Expand Down
6 changes: 5 additions & 1 deletion sparkle/src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
: "default";
return (
<div className="s-flex s-flex-col s-gap-1">
{label && <Label htmlFor={props.name}>{label}</Label>}
{label && (
<Label htmlFor={props.name} className="s-mb-1">
{label}
</Label>
)}
<input
ref={ref}
className={cn(inputStyleClasses({ state }), className)}
Expand Down
4 changes: 2 additions & 2 deletions sparkle/src/components/TextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const textAreaVariants = cva(
both: "s-resize",
},
error: {
true: "s-ring-warning-200 focus:s-ring-warning-300 dark:s-ring-warning-200-dark dark:focus:s-ring-warning-300-dark",
true: "focus:s-ring-warning-200 focus:s-ring-warning-300 dark:s-ring-warning-200-dark dark:focus:s-ring-warning-300-dark",
false:
"s-ring-structure-200 dark:s-ring-structure-300-dark dark:focus:s-ring-action-300-dark",
"focus:s-ring-highlight-200 dark:s-ring-structure-300-dark dark:focus:s-ring-highlight-200-dark",
},
disabled: {
true: "disabled:s-cursor-not-allowed disabled:s-text-muted-foreground",
Expand Down
Loading