Skip to content

Commit dda9efe

Browse files
committed
Adjust sandbox hints position on mobile
Show the hints inside the browser viewport boundaries to avoid horizontal scrolling.
1 parent cfa723a commit dda9efe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

html/css/ejs.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,12 @@ blockquote footer:before {
354354
border-radius: 5px;
355355
}
356356

357+
@media screen and (max-width: 800px) {
358+
.sandboxhint {
359+
right: 5px;
360+
}
361+
}
362+
357363
.sandboxhint:before {
358364
position: absolute;
359365
width: 0; height: 0;

0 commit comments

Comments
 (0)