Checkbox lag fix

This commit is contained in:
Firq 2024-10-30 20:51:09 +01:00
parent f9fb025622
commit 4c39adb6b7
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.47", "version": "0.2.0-pre.50",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.47", "version": "0.2.0-pre.50",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2", "@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.49", "version": "0.2.0-pre.50",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -17,6 +17,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
input[type="checkbox"] { input[type="checkbox"] {
opacity: 0; opacity: 0;
position: absolute; position: absolute;
touch-action: manipulation;
} }
input[type="checkbox"]:checked ~ .dropdown-content { input[type="checkbox"]:checked ~ .dropdown-content {