docs
This commit is contained in:
parent
5b9a1d6313
commit
750af07813
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ You can also add the padding conditionally by using the `containerIsFluid` prop,
|
|||
export let width = 'fluid';
|
||||
</script>
|
||||
|
||||
<Block width="fluid">
|
||||
<Block width="{width}">
|
||||
<img src="{src}" alt="..." width="100%" />
|
||||
<PaddingReset containerIsFluid="{width === 'fluid'}">
|
||||
<p>A caption for the image that will be padded when Block is fluid.</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue