Skip to content

Commit

Permalink
temp fix liferay-design#660 — need to test rest of the site
Browse files Browse the repository at this point in the history
  • Loading branch information
plhnk committed Apr 28, 2020
1 parent 6930a06 commit 6c9d3a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/theme/documentation.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
@import 'theme/longform.scss';

.theme {
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
// height: 100vh; This breaks browser scroll
// overflow-y: auto; commenting for now to troubleshoot.
// overflow-x: hidden; Fix in #660
// homepages
.background {
background: $white;
Expand Down
8 changes: 4 additions & 4 deletions src/theme/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body {
font-size: 16px;
font-family: $fontFamilyPrimary;
margin: 0;
overflow-x: hidden;
// overflow-x: hidden; // fixing #660
::selection {
background: #05f;
color: #fff;
Expand All @@ -57,7 +57,7 @@ p {
margin-bottom: 1em;
&:hover .nice-anchor {
opacity: 1;
transition: opacity .2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}
}

Expand Down Expand Up @@ -97,5 +97,5 @@ img {
margin-left: -$spacingBase;
padding-right: $spacingSmall;
opacity: 0;
transition: opacity .2s ease-in-out;
}
transition: opacity 0.2s ease-in-out;
}

0 comments on commit 6c9d3a9

Please sign in to comment.