Skip to content

Commit 378cf42

Browse files
committed
fix: simplify overflow fix
1 parent 613bba1 commit 378cf42

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

packages/uikit-workshop/src/sass/pattern-lab.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,8 @@
5959
.pl-c-code-copy-btn {
6060
display: inline-block;
6161
position: absolute;
62-
top: 0.5rem;
62+
top: 0.4rem;
6363
right: 0.5rem;
64-
65-
@supports (position: sticky){
66-
transform: translateY(-0.7rem);
67-
float: right;
68-
top: 3.2rem;
69-
right: 0;
70-
margin-top: -2rem;
71-
}
72-
7364
padding: 0.2rem 0.4rem;
7465
background-color: $pl-color-gray-07;
7566
color: $pl-color-gray-87;

packages/uikit-workshop/src/sass/scss/04-components/_tabs.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@
9292
display: flex;
9393
flex-basis: auto;
9494
-webkit-overflow-scrolling: touch;
95-
height: 100%;
96-
overflow: auto; // workaround to firefox background gradient overflow bug
95+
overflow-y: auto; // workaround to firefox background gradient overflow bug
9796

9897
/**
9998
* Tab content inside modal

0 commit comments

Comments
 (0)