diff --git a/src/components/Article/Article.stories.svelte b/src/components/Article/Article.stories.svelte index f403f164..1378e912 100644 --- a/src/components/Article/Article.stories.svelte +++ b/src/components/Article/Article.stories.svelte @@ -70,7 +70,7 @@ :global(#article-column-widths-demo) { background-color: #ddd; position: relative; - margin-bottom: 10px; + margin-block-end: 10px; } :global(#article-column-widths-demo .article-boundaries) { padding: 0; @@ -86,7 +86,7 @@ :global(#article-column-widths-demo div.article-block) { height: 300px; background: #81a1c1; - margin-bottom: 2px; + margin-block-end: 2px; height: 50px; padding-inline-start: 3px; color: white; diff --git a/src/components/BeforeAfter/BeforeAfter.svelte b/src/components/BeforeAfter/BeforeAfter.svelte index 414497cc..adf8250a 100644 --- a/src/components/BeforeAfter/BeforeAfter.svelte +++ b/src/components/BeforeAfter/BeforeAfter.svelte @@ -296,10 +296,10 @@ .overlay-container { top: 0; :global(:first-child) { - margin-top: 0; + margin-block-start: 0; } :global(:last-child) { - margin-bottom: 0; + margin-block-end: 0; } &.before { left: 0; diff --git a/src/components/Block/Block.stories.svelte b/src/components/Block/Block.stories.svelte index 42826ec0..ce95e9fb 100644 --- a/src/components/Block/Block.stories.svelte +++ b/src/components/Block/Block.stories.svelte @@ -142,7 +142,7 @@ background: #81a1c1; } :global(#block-demo-article div.article-block.block-snap-widths-demo) { - margin-bottom: 2px; + margin-block-end: 2px; height: 40px; font-size: 11px; } diff --git a/src/components/EndNotes/EndNotes.svelte b/src/components/EndNotes/EndNotes.svelte index 7c921bec..01913fb2 100644 --- a/src/components/EndNotes/EndNotes.svelte +++ b/src/components/EndNotes/EndNotes.svelte @@ -44,7 +44,7 @@ @include mixins.font-medium; @include mixins.tracking-normal; @include mixins.fmt-3; - margin-bottom: 0.125rem; + margin-block-end: 0.125rem; text-transform: none; } } diff --git a/src/components/Framer/Resizer/index.svelte b/src/components/Framer/Resizer/index.svelte index 6eea7de8..66942e07 100644 --- a/src/components/Framer/Resizer/index.svelte +++ b/src/components/Framer/Resizer/index.svelte @@ -168,7 +168,7 @@ background-color: rgba(255, 255, 255, 0.8); padding: 4px 8px; border-radius: 4px; - margin-right: 5px; + margin-inline-end: 5px; } button.icon { font-size: 14px; diff --git a/src/components/Framer/Typeahead/index.svelte b/src/components/Framer/Typeahead/index.svelte index cbd62dad..42e978c7 100644 --- a/src/components/Framer/Typeahead/index.svelte +++ b/src/components/Framer/Typeahead/index.svelte @@ -350,7 +350,7 @@ } :global([data-svelte-search] label) { - margin-bottom: 0.25rem; + margin-block-end: 0.25rem; display: inline-flex; font-size: 0.75rem; color: #aaa; diff --git a/src/components/HeroHeadline/HeroHeadline.mdx b/src/components/HeroHeadline/HeroHeadline.mdx index 5fe0dde6..1091015b 100644 --- a/src/components/HeroHeadline/HeroHeadline.mdx +++ b/src/components/HeroHeadline/HeroHeadline.mdx @@ -51,7 +51,7 @@ In the graphics kit, set styles in `global.scss` to make the Reuters site header border: none !important; } .hero-wrapper { - margin-top: -64px; + margin-block-start: -64px; } ``` @@ -316,7 +316,7 @@ Add styles in `global.scss`: } .dek { - margin-top: 1rem; + margin-block-start: 1rem; p { color: #ffffff; text-shadow: 1px 1px 8px #ff7c88; diff --git a/src/components/HeroHeadline/HeroHeadline.stories.svelte b/src/components/HeroHeadline/HeroHeadline.stories.svelte index 7311cbd5..5e4000e7 100644 --- a/src/components/HeroHeadline/HeroHeadline.stories.svelte +++ b/src/components/HeroHeadline/HeroHeadline.stories.svelte @@ -259,7 +259,7 @@ } .dek { - margin-top: 1rem; + margin-block-start: 1rem; p { color: #ffffff; text-shadow: 1px 1px 8px #ff7c88; @@ -281,7 +281,7 @@ } :global(.hero-wrapper) { - margin-top: -64px; + margin-block-start: -64px; } } diff --git a/src/components/PhotoPack/PhotoPack.svelte b/src/components/PhotoPack/PhotoPack.svelte index 50f23855..51f2d359 100644 --- a/src/components/PhotoPack/PhotoPack.svelte +++ b/src/components/PhotoPack/PhotoPack.svelte @@ -85,7 +85,7 @@