mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Initial commit
This commit is contained in:
parent
22172654c2
commit
cc91d0ac57
3 changed files with 12 additions and 2 deletions
2
dev.sh
2
dev.sh
|
@ -19,4 +19,4 @@ $DIR/hooks/install.sh
|
||||||
|
|
||||||
$PHPBIN composer.phar install
|
$PHPBIN composer.phar install
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
$PHPBIN --server localhost:8000 --docroot "$DIR/web" "$DIR/web/index.php"
|
$PHPBIN --server 0.0.0.0:8000 --docroot "$DIR/web" "$DIR/web/index.php"
|
||||||
|
|
|
@ -130,3 +130,13 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Fix for touchscreen devices
|
||||||
|
const navigationLinks = document.querySelectorAll("drawer-title");
|
||||||
|
|
||||||
|
navigationLinks.forEach(navigationLink => {
|
||||||
|
navigationLink.ontouchstart = () => {
|
||||||
|
// $("drawer-navigation-helper").hide(); // rewrite this in vanilla JS
|
||||||
|
navigationLink.onhover.call(navigationLink);
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
|
@ -206,7 +206,7 @@ drawer-navigation-helper {
|
||||||
width: 30vw; height: 100%;
|
width: 30vw; height: 100%;
|
||||||
top: 3rem; left: -15vw;
|
top: 3rem; left: -15vw;
|
||||||
|
|
||||||
// background-color: bisque; // uncomment to view path
|
background-color: bisque; // uncomment to view path
|
||||||
border: none; //
|
border: none; //
|
||||||
clip-path: ellipse(farthest-side closest-side at 50% 50%);
|
clip-path: ellipse(farthest-side closest-side at 50% 50%);
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Add table
Reference in a new issue