Skip to content

Commit

Permalink
fix(callout-quote): content off grid (#10869)
Browse files Browse the repository at this point in the history
* fix(callout-quote): content off grid

* fix(callout-quote): content off grid

* fix(callout-quote): content off grid sm grid

* fix(calout-quote): review update

---------

Co-authored-by: kennylam <[email protected]>
Co-authored-by: Ignacio Becerra <[email protected]>
Co-authored-by: Anna Wen <[email protected]>
  • Loading branch information
4 people authored Oct 9, 2023
1 parent ef5e0de commit 3f94c14
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {
(story) => html`
<div class="bx--grid">
<div class="bx--row">
<div class="bx--col-lg-11">${story()}</div>
<div class="bx--offset-lg-4 bx--col-lg-12">${story()}</div>
</div>
</div>
`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,18 @@
margin: 1rem 0.5rem;
}
}

:host(#{$dds-prefix}-callout-quote) {
.#{$prefix}--quote__wrapper {
margin-left: -$spacing-05;
margin-right: -$spacing-05;
@include carbon--breakpoint('md') {
margin-left: -$spacing-05;
margin-right: -$spacing-05;
}
@include carbon--breakpoint('sm') {
margin-left: 0;
margin-right: 0;
}
}
}

0 comments on commit 3f94c14

Please sign in to comment.