Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS flexy grid gutters issue when scoped #1178

Closed
MaximeDecourtray opened this issue Aug 4, 2022 · 0 comments 路 Fixed by #1195
Closed

CSS flexy grid gutters issue when scoped #1178

MaximeDecourtray opened this issue Aug 4, 2022 · 0 comments 路 Fixed by #1195
Assignees

Comments

@MaximeDecourtray
Copy link

馃悶 Styleguide bug report

Is this a regression?

I don't know

Description

Hello Mozaic support,
There is a problem if we want to scoper the css import of the grid

.l-footer {
    @import 'layouts/_l.container';
    @import 'layouts/_l.flexy';

This is in this file : /node_modules/@mozaic-ds/styles/layouts/_l.flexy.scss
line 70

&__col {
    flex: 1 1 0;

    .ml-flexy--gutter > & {
      @include set-flexy-col-gutter($size-gutter-screen-s);

      @include set-from-screen("m") {
        @include set-flexy-col-gutter($size-gutter-screen-m);
      }
    }
  }

when we use gutters, the container is inserted in the css path:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants