mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
chore: migrate layout spacing to v11
See [@carbon/layout](https://github.com/carbon-design-system/carbon/blob/main/docs/migration/v11.md#carbonlayout) migration guide: $layout-01 Removed, use $spacing-05 instead $layout-02 Removed, use $spacing-06 instead $layout-03 Removed, use $spacing-07 instead $layout-04 Removed, use $spacing-09 instead $layout-05 Removed, use $spacing-10 instead $layout-06 Removed, use $spacing-12 instead $layout-07 Removed, use $spacing-13 instead
This commit is contained in:
parent
f4ac33c93a
commit
f70c7d5139
16 changed files with 34 additions and 34 deletions
|
@ -39,7 +39,7 @@
|
|||
);
|
||||
</script>
|
||||
|
||||
<p style="margin-bottom: var(--bx-layout-02)">
|
||||
<p style="margin-bottom: var(--bx-spacing-06)">
|
||||
Source code:
|
||||
<OutboundLink size="lg" inline href="{source}">
|
||||
{component.filePath}
|
||||
|
@ -231,13 +231,13 @@
|
|||
}
|
||||
|
||||
:global(.my-layout-01-03) {
|
||||
margin-top: var(--bx-layout-01);
|
||||
margin-bottom: var(--bx-layout-03);
|
||||
margin-top: var(--bx-spacing-05);
|
||||
margin-bottom: var(--bx-spacing-07);
|
||||
}
|
||||
|
||||
:global(.overflow .bx--structured-list) {
|
||||
margin-top: var(--bx-layout-01);
|
||||
margin-bottom: var(--bx-layout-04);
|
||||
margin-top: var(--bx-spacing-05);
|
||||
margin-bottom: var(--bx-spacing-09);
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue