From 62e0ae413705c0bebc43fb769d4450b32538c50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= Date: Fri, 13 Sep 2024 16:33:50 +0200 Subject: [PATCH] feat: a custom index.html --- docker-compose-dev.yml | 1 + index.html | 24 ++++++++++++++++++++++++ src/styles/tailwind.css | 5 ----- 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 index.html diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index ebd81f3..a924b20 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -11,6 +11,7 @@ services: - ./Cargo.toml:/srv/app/Cargo.toml - ./diesel.toml:/srv/app/diesel.toml - ./Dioxus.toml:/srv/app/Dioxus.toml + - ./index.html:/srv/app/index.html - ./package.json:/srv/app/package.json - ./package-lock.json:/srv/app/package-lock.json restart: always diff --git a/index.html b/index.html new file mode 100644 index 0000000..0e1c199 --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + {app_title} + + + + + {style_include} + + +
+ +{script_include} + + diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css index 4f70d83..88160f5 100644 --- a/src/styles/tailwind.css +++ b/src/styles/tailwind.css @@ -7,9 +7,4 @@ /* noinspection CssInvalidAtRule */ @tailwind utilities; -html, body, #main { - /* noinspection CssInvalidAtRule */ - @apply min-h-screen; -} - /* stylelint-enable */