Skip to content

Commit

Permalink
fix: simplify overflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Nov 22, 2019
1 parent 613bba1 commit 378cf42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
11 changes: 1 addition & 10 deletions packages/uikit-workshop/src/sass/pattern-lab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,8 @@
.pl-c-code-copy-btn {
display: inline-block;
position: absolute;
top: 0.5rem;
top: 0.4rem;
right: 0.5rem;

@supports (position: sticky){
transform: translateY(-0.7rem);
float: right;
top: 3.2rem;
right: 0;
margin-top: -2rem;
}

padding: 0.2rem 0.4rem;
background-color: $pl-color-gray-07;
color: $pl-color-gray-87;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
display: flex;
flex-basis: auto;
-webkit-overflow-scrolling: touch;
height: 100%;
overflow: auto; // workaround to firefox background gradient overflow bug
overflow-y: auto; // workaround to firefox background gradient overflow bug

/**
* Tab content inside modal
Expand Down

0 comments on commit 378cf42

Please # to comment.