We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f1f184 commit 14ac99dCopy full SHA for 14ac99d
src/shared/components/Contentful/Viewport/index.jsx
@@ -83,7 +83,7 @@ function ViewportContentLoader(props) {
83
}
84
85
if (themeName === 'Grid') {
86
- extraStylesForContainer = _.assign(extraStylesForContainer || {}, {
+ extraStylesForContainer = _.defaults(extraStylesForContainer || {}, {
87
'grid-template-columns': `repeat(${grid.columns || 3}, 1fr)`,
88
'grid-gap': `${grid.gap || 10}px`,
89
});
src/shared/components/Contentful/Viewport/themes/grid.scss
@@ -4,6 +4,7 @@
4
display: grid;
5
margin: 1em auto;
6
overflow: auto;
7
+ justify-content: center;
8
9
@include xl {
10
max-width: $screen-lg;
0 commit comments