Skip to content

Commit

Permalink
fix(atlas-core): add default padding for layoutgrid in react version
Browse files Browse the repository at this point in the history
  • Loading branch information
iobuhov committed Dec 5, 2023
1 parent 7f6ec1d commit bb19ecc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,5 @@
.mx-scrollcontainer .mx-placeholder {
width: 100%;
height: 100%;

.mx-layoutgrid,
.mx-layoutgrid-fluid {
@include layout-spacing($type: padding, $direction: all, $device: responsive);

.mx-layoutgrid,
.mx-layoutgrid-fluid {
padding: 0;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,16 @@
.mx-scrollcontainer-slide.mx-scrollcontainer-open > .mx-scrollcontainer-toggleable {
pointer-events: auto;
}

.mx-scrollcontainer-center {
.mx-layoutgrid,
.mx-layoutgrid-fluid {
@include layout-spacing($type: padding, $direction: all, $device: responsive);

.mx-layoutgrid,
.mx-layoutgrid-fluid {
padding: 0;
}
}
}
}

0 comments on commit bb19ecc

Please sign in to comment.