Skip to content

Commit a5a67e6

Browse files
committed
Display star us button in mobile
1 parent 634e899 commit a5a67e6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

github.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div>
1+
<div class="star-us-button">
22
<span style="position: relative; top: 6px">
33
<svg style="fill: white; height: 22px; margin-right: 4px" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="StarBorderIcon">
44
<path d="m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path>

src/css/custom.css

+13
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,16 @@ span.github {
104104
text-shadow: none;
105105
}
106106
}
107+
108+
@media (min-width: 360px) and (max-width: 996px) {
109+
div.navbar__items.navbar__items--right > * {
110+
display: block;
111+
position: inherit;
112+
}
113+
}
114+
115+
@media (min-width: 360px) and (max-width: 996px) {
116+
div.ide-button {
117+
display: none;
118+
}
119+
}

0 commit comments

Comments
 (0)