diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/deploy.sh | 0 | ||||
-rw-r--r-- | src/index.html | 5 | ||||
-rw-r--r-- | src/scss/styles.scss | 19 |
3 files changed, 19 insertions, 5 deletions
diff --git a/src/deploy.sh b/src/deploy.sh new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/deploy.sh diff --git a/src/index.html b/src/index.html index fb23d7e..9f76b6f 100644 --- a/src/index.html +++ b/src/index.html @@ -15,7 +15,10 @@ <link href="https://fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet"> </head> <body class=""> - <!-- <h1>HOVER:BIT Controller</h1> --> + <div class="app-info"> + <h1>HOVER:BIT Controller</h1> + <span class="version">{{ VERSION }}</span> + </div> <div class="landscape-warning"> <div class="landscape-warning-content"> diff --git a/src/scss/styles.scss b/src/scss/styles.scss index b72acef..e4869ff 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss @@ -28,10 +28,21 @@ body { color: $foreground-base; } -h1 { - font-size: 10px; - margin: 0; - color: $foreground-base; +.app-info { + position: absolute; + top: 15px; + left: 10px; + left: max(env(safe-area-inset-left, 10px), 10px); + + h1 { + font-size: 14px; + margin: 0; + color: $foreground-base; + } + .version { + display: block; + font-size: 9px; + } } .statusline { |