Skip to content

Commit

Permalink
Merge pull request #233 from appwrite/fix-fieldset-legend-half-backgr…
Browse files Browse the repository at this point in the history
…ound

Remove fieldset legend background
  • Loading branch information
ArmanNik authored Oct 22, 2024
2 parents 2357e9a + 6b6c64d commit 4da6d98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion v2/pink-sb/src/lib/Fieldset.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
}
span {
background: var(--color-bgcolor-neutral-primary, #fff);
padding: 0 var(--space-2, 4px);
font-family: var(--font-family-sansserif, inter);
font-size: var(--font-size-XS, 12px);
Expand Down
15 changes: 10 additions & 5 deletions v2/pink-sb/src/stories/Fieldset.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@
};
</script>

<div class="wrapper">
<Story name="Default" let:args>
<Fieldset {...args}><div class="demo-block">Demo block</div></Fieldset>
</Story>
<div class="container">
<div class="wrapper">
<Story name="Default" let:args>
<Fieldset {...args}><div class="demo-block">Demo block</div></Fieldset>
</Story>
</div>
</div>

<style>
.wrapper {
.container {
margin: 100px auto;
width: fit-content;
}
.wrapper {
padding: 100px;
}
.demo-block {
display: flex;
Expand Down

0 comments on commit 4da6d98

Please sign in to comment.