optimize for small sreens

This commit is contained in:
Alexander Popov 2023-08-04 01:11:53 +03:00
parent 16421f0023
commit c55f33b743
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
6 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import { routes } from './routes.js';
let DEBUG = true;
let DEBUG = false;
window.DEBUG = DEBUG;
/* main */

View File

@ -24,7 +24,7 @@
<!-- app working window -->
<main>
<div class="d-flex gap-3">
<div class="d-block d-xs-block d-md-flex gap-3">
<include src="app/partitial/menu.html"></include>
<div class="flex-fill card shadow p-3" id="content"></div>
</div>

View File

@ -6,7 +6,9 @@
// licking and assemble //
</p>
</h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
<nav
class="nav nav-masthead justify-content-center mt-3 mt-md-0 float-md-end"
>
<a class="nav-link fw-bold py-1 px-0 icon-link" href="/">
<svg
class="svg-icon"

View File

@ -1,4 +1,4 @@
<ul class="dropdown-menu d-block position-static shadow">
<ul class="dropdown-menu d-block position-static shadow mb-3 mb-md-0">
<li>
<a class="dropdown-item d-flex gap-2 align-items-center" href="#games">
<svg

View File

@ -11,7 +11,7 @@ echo -n "Remove all build files in 'public'... "
for file in "${files[@]}"
do
rm ./public/$file &> /dev/null
rm ./public/$file &> /dev/null
done
echo "Complete!"

View File

@ -5,7 +5,7 @@
"description": "ololo",
"scripts": {
"serve": "npx parcel serve --dist-dir public app/index.html",
"build": "npx parcel build --dist-dir public app/index.html --no-optimize",
"build": "npm run clean; npx parcel build --dist-dir public app/index.html --no-optimize; npm run git-hash",
"prettier": "npx prettier --write .",
"git-hash": "./update_commit.sh",
"clean": "./clean_public.sh",