Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #269 from shaal/fixhorizontalscroll
Browse files Browse the repository at this point in the history
Fix PL horizontal scroll
  • Loading branch information
ModulesUnraveled committed Jul 7, 2018
2 parents e00919c + 6e181dc commit 94d5900
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/_patterns/00-base/global/base/_pl-base.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// These styles are specifically for Pattern Lab.
// They are not used by the site in any way.

.sg-main {
@include wrapper;
}

.pl-template {
display: flex;
flex-flow: column nowrap;
Expand All @@ -16,7 +12,6 @@
font-size: 3rem;
text-transform: uppercase;
background-color: $gray-darker;
margin: 0 calc(-50vw + 50%) $space calc(-50vw + 50%);

a {
@include wrapper(
Expand All @@ -30,6 +25,10 @@
}
}

.sg-pattern > div {
@include wrapper;
}

.sg-pattern-title {
color: #738ba3;
font-size: 1.4rem !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
.form-item__textfield {
border: 1px solid $gray-lightest;
padding: 0.6em;
max-width: 100%;

&:focus {
border-color: $black;
Expand Down

0 comments on commit 94d5900

Please sign in to comment.