Skip to content

Commit 9e9a088

Browse files
authored
Merge pull request #329 from budziq/ios_playpen_buttons
Fix for playpen buttons missing on mobile safari and chrome IOS
2 parents 19692c7 + ee9fa8c commit 9e9a088

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/theme/book.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ table thead td {
408408
}
409409
.light pre > .buttons {
410410
position: absolute;
411+
z-index: 100;
411412
right: 5px;
412413
top: 5px;
413414
color: #364149;
@@ -527,6 +528,7 @@ table thead td {
527528
}
528529
.coal pre > .buttons {
529530
position: absolute;
531+
z-index: 100;
530532
right: 5px;
531533
top: 5px;
532534
color: #a1adb8;
@@ -646,6 +648,7 @@ table thead td {
646648
}
647649
.navy pre > .buttons {
648650
position: absolute;
651+
z-index: 100;
649652
right: 5px;
650653
top: 5px;
651654
color: #c8c9db;
@@ -765,6 +768,7 @@ table thead td {
765768
}
766769
.rust pre > .buttons {
767770
position: absolute;
771+
z-index: 100;
768772
right: 5px;
769773
top: 5px;
770774
color: #c8c9db;
@@ -884,6 +888,7 @@ table thead td {
884888
}
885889
.ayu pre > .buttons {
886890
position: absolute;
891+
z-index: 100;
887892
right: 5px;
888893
top: 5px;
889894
color: #c8c9db;

src/theme/stylus/themes/base.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
& > .buttons {
119119
position: absolute;
120+
z-index: 100;
120121
right: 5px;
121122
top: 5px;
122123

0 commit comments

Comments
 (0)