diff --git a/.changeset/famous-mirrors-ring.md b/.changeset/famous-mirrors-ring.md new file mode 100644 index 000000000..fd0559c67 --- /dev/null +++ b/.changeset/famous-mirrors-ring.md @@ -0,0 +1,5 @@ +--- +"@cloudfour/patterns": patch +--- + +Remove block alignment override styles for Deck diff --git a/src/objects/deck/deck.scss b/src/objects/deck/deck.scss index f8916e25e..55939b7a5 100644 --- a/src/objects/deck/deck.scss +++ b/src/objects/deck/deck.scss @@ -53,22 +53,3 @@ .o-deck--align-start { align-items: start; } - -/** - * Block alignment adjustments - * - * 1. Set inline padding since we don't want the deck to touch the viewport - * edges even when it's full bleed. - * 2. Remove padding once `alignwide` is no longer full-bleed. - */ - -.o-deck.alignfull, -.o-deck.alignwide { - @include spacing.fluid-padding-inline; // 1 -} - -.o-deck.alignwide { - @media (width >= breakpoint.$l) { - padding-inline: 0; // 2 - } -} diff --git a/src/objects/deck/deck.stories.mdx b/src/objects/deck/deck.stories.mdx index 30db298da..f64034f1b 100644 --- a/src/objects/deck/deck.stories.mdx +++ b/src/objects/deck/deck.stories.mdx @@ -122,24 +122,6 @@ The `o-deck--align-start` modifier can be used to top-align deck items. This mod -## Block Alignment - -When used in WordPress, the `alignwide` and `alignfull` block alignment styles have been updated for use with the Deck. - - - - {articlesStory.bind({})} - - - ## Specifying Columns While automatic columns are convenient, there are times when a specific column count is desired. For example, you may want to limit a design to three columns at larger breakpoints to align with adjacent elements.