Skip to content

Commit

Permalink
fix: fixed left/right padding we don't need
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed May 9, 2019
1 parent a46abc5 commit 34acb9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions packages/example/src/pages/component-examples/demo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
Aside,
} from 'gatsby-theme-carbon';

IBMers believe in progress—that application of intelligence, reason and science can improve business, society and the human condition.

<Row>
<Column colMd={5} colLg={7}>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

// Responsive by default
.#{$prefix}--paragraph--responsive {
// simulate column padding
padding-left: 1rem;
padding-right: 1rem;

// 7 columns wide
@include carbon--breakpoint('md') {
width: 62.5%;
Expand All @@ -26,6 +22,4 @@
// If paragraph is inside a user specified row then allow the grid code to set the width
.#{$prefix}--row .#{$prefix}--paragraph {
width: 100%;
padding-left: 0;
padding-right: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import mediaqueries from '../../util/media-queries';

const responsiveStyles = {
width: '100%',
padding: '0 1rem',
//padding: '0 1rem',
[mediaqueries.md]: {
width: '75%',
},
Expand Down

0 comments on commit 34acb9d

Please sign in to comment.