Skip to content

Commit

Permalink
fix(field): fix width style (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusps authored Aug 2, 2024
2 parents 6d98d7b + cd6883b commit acfdbae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function Show() {
const [value, setValue] = useState('')

return (
<Stack>
<Stack fluid>
<Field>
<Label>Simple</Label>
<Input />
Expand Down
2 changes: 1 addition & 1 deletion packages/shoreline/src/themes/sunrise/components/field.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[data-sl-field] {
display: inline-flex;
flex-direction: column;
width: fit-content;
min-width: fit-content;

&[data-space='normal'] {
gap: var(--sl-space-1);
Expand Down

0 comments on commit acfdbae

Please sign in to comment.