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'; import { routes } from './routes.js';
let DEBUG = true; let DEBUG = false;
window.DEBUG = DEBUG; window.DEBUG = DEBUG;
/* main */ /* main */

View File

@ -24,7 +24,7 @@
<!-- app working window --> <!-- app working window -->
<main> <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> <include src="app/partitial/menu.html"></include>
<div class="flex-fill card shadow p-3" id="content"></div> <div class="flex-fill card shadow p-3" id="content"></div>
</div> </div>

View File

@ -6,7 +6,9 @@
// licking and assemble // // licking and assemble //
</p> </p>
</h3> </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="/"> <a class="nav-link fw-bold py-1 px-0 icon-link" href="/">
<svg <svg
class="svg-icon" 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> <li>
<a class="dropdown-item d-flex gap-2 align-items-center" href="#games"> <a class="dropdown-item d-flex gap-2 align-items-center" href="#games">
<svg <svg

View File

@ -5,7 +5,7 @@
"description": "ololo", "description": "ololo",
"scripts": { "scripts": {
"serve": "npx parcel serve --dist-dir public app/index.html", "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 .", "prettier": "npx prettier --write .",
"git-hash": "./update_commit.sh", "git-hash": "./update_commit.sh",
"clean": "./clean_public.sh", "clean": "./clean_public.sh",