Skip to content

Commit f4ae59f

Browse files
committed
Fix z-index conflict between aside and sidebar in mobile view
1 parent 920e3d8 commit f4ae59f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

packages/typescriptlang-org/src/templates/documentation.scss

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
@import "../style/globals.scss";
22

33
#beta {
4-
background: repeating-linear-gradient(45deg,
5-
#9b9a4e,
6-
#9b9a4e 10px,
7-
#6e6a33 10px,
8-
#6e6a33 20px);
4+
background: repeating-linear-gradient(
5+
45deg,
6+
#9b9a4e,
7+
#9b9a4e 10px,
8+
#6e6a33 10px,
9+
#6e6a33 20px
10+
);
911
background-color: "#c63131";
1012
text-align: center;
1113
color: white;
@@ -30,7 +32,7 @@
3032
}
3133

3234
// Page title
33-
&>h1 {
35+
& > h1 {
3436
font-size: 3.5rem;
3537
line-height: 3.5rem;
3638
font-weight: 400;
@@ -81,7 +83,7 @@
8183
position: relative;
8284
top: 0;
8385
width: 100%;
84-
z-index: 1000;
86+
z-index: 98;
8587
margin-left: 0;
8688
order: 1;
8789
}
@@ -134,7 +136,6 @@
134136
}
135137

136138
.like-dislike-subnav {
137-
138139
#like-button,
139140
#dislike-button {
140141
cursor: pointer;
@@ -477,6 +478,6 @@
477478
overflow: auto;
478479
max-height: 80vh;
479480
ul {
480-
padding-left: .5em !important;
481+
padding-left: 0.5em !important;
481482
}
482483
}

0 commit comments

Comments
 (0)