notebook resonspive ipad/tablet fixes

This commit is contained in:
Mireille Raad committed 2020-12-07 21:08:32 -05:00
1 parent d0c0b82e11
commit 22fa80e204
2 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@
<div class="d-flex">
<div class="header item-center">RustPython 🐍 😱 🤘</div>
<div>
<a target="_blank" class="mr-px-5 text-black" href="https://github.com/RustPython/RustPython/tree/master/wasm/notebook">how this works</a>
<a target="_blank" class="d-md-none mr-px-5 text-black" href="https://github.com/RustPython/RustPython/tree/master/wasm/notebook">how this works</a>
<a target="_blank" class="text-black" href="https://github.com/RustPython/"> github</a>
</div>
</div>
@@ -30,7 +30,7 @@
</div>
<div class="nav-bar-links d-flex">
<a href="#" id="split-view" class="bg-light mr-px-5 text-black">split view</a>
<a href="#" id="split-view" class="d-md-none bg-light mr-px-5 text-black">split view</a>
<a href="#" id="default-view" class="bg-light mr-px-5 text-black">default view</a>
<a href="#" id="reader-view" class="bg-light text-black">reader view</a>
</div>
+7 -2
View File
@@ -172,7 +172,7 @@ ul.list-inline li {
input[type='url'] {
border: 1px solid black;
border-radius: 0px;
width: 85%;
width: 75%;
font-size: 1rem;
padding: 4px;
font-family: monospace;
@@ -241,7 +241,7 @@ input[type='url'] {
overflow: auto;
}
@media screen and (max-width: 700px) {
@media screen and (max-width: 768px) {
.box {
width: 70%;
}
@@ -249,4 +249,9 @@ input[type='url'] {
.popup {
width: 70%;
}
.d-md-none {
display: none;
}
}