From 37d565e98cd293d521d2eecce75187204490a64b Mon Sep 17 00:00:00 2001 From: Ward Truyen Date: Thu, 3 Oct 2024 13:36:30 +0200 Subject: [PATCH] Chore: mobile support --- src/addon.html | 1 + src/css/main.css | 5 +++++ src/dropdown.html | 1 + src/index.html | 1 + src/pong.html | 1 + src/static-terminal.html | 1 + 6 files changed, 10 insertions(+) diff --git a/src/addon.html b/src/addon.html index 6372cca..911ddfc 100644 --- a/src/addon.html +++ b/src/addon.html @@ -3,6 +3,7 @@ WTerminal as addon + diff --git a/src/css/main.css b/src/css/main.css index cdf8f3c..d6cf290 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -100,3 +100,8 @@ html.theme-dark { text-shadow: 0px 0px 3px blue, 2px 2px 6px; } +@media(orientation: portrait){ + main{ + margin-top: 0; + } +} diff --git a/src/dropdown.html b/src/dropdown.html index 23fbfdf..fbbc748 100644 --- a/src/dropdown.html +++ b/src/dropdown.html @@ -3,6 +3,7 @@ WTerminal dropdown sample + diff --git a/src/index.html b/src/index.html index b8b170d..ed5a225 100644 --- a/src/index.html +++ b/src/index.html @@ -3,6 +3,7 @@ WTerminal home + diff --git a/src/pong.html b/src/pong.html index 773e3c3..d453052 100644 --- a/src/pong.html +++ b/src/pong.html @@ -3,6 +3,7 @@ Sample: Ping pong + diff --git a/src/static-terminal.html b/src/static-terminal.html index e87f5d4..80bb346 100644 --- a/src/static-terminal.html +++ b/src/static-terminal.html @@ -3,6 +3,7 @@ WTerminal static sample +