import { Meta, Canvas } from '@storybook/blocks';
import * as PaddingResetStories from './PaddingReset.stories.svelte';
# PaddingReset
Sometimes you want a visual element to be fluid, i.e., edge-to-edge, but keep padding on adjacent text such as notes or captions. The `PaddingReset` component resets our normal well padding inside a `fluid` container.
```svelte
A caption for the image that is padded when Block is fluid.
```
## Conditional padding
You can add the padding conditionally by setting the `containerIsFluid` prop to `true` when the `Block` width is `fluid`, which is what many other components in this library do.
```svelte
A caption for the image that is padded when Block is fluid.