From 22fa80e204e02ffad8b5a79b1f89127188ff239f Mon Sep 17 00:00:00 2001 From: Mireille Raad Date: Mon, 7 Dec 2020 21:08:32 -0500 Subject: [PATCH] notebook resonspive ipad/tablet fixes --- wasm/notebook/src/index.ejs | 4 ++-- wasm/notebook/src/style.css | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/wasm/notebook/src/index.ejs b/wasm/notebook/src/index.ejs index 76140bba0..61b24088e 100644 --- a/wasm/notebook/src/index.ejs +++ b/wasm/notebook/src/index.ejs @@ -14,7 +14,7 @@
RustPython 🐍 😱 🤘
- how this works + how this works github
@@ -30,7 +30,7 @@ diff --git a/wasm/notebook/src/style.css b/wasm/notebook/src/style.css index 7d93b480c..ac39dcb77 100644 --- a/wasm/notebook/src/style.css +++ b/wasm/notebook/src/style.css @@ -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; + } + }