Make sure scrollbars don't show up on demo and tool pages
This commit is contained in:
parent
445d00fed3
commit
375dbe7ab9
|
@ -1,3 +1,6 @@
|
|||
body.pf-unscrollable {
|
||||
overflow: hidden;
|
||||
}
|
||||
nav {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{>partials/header.html}}
|
||||
<script type="text/javascript" src="/js/pathfinder/3d-demo.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="pf-unscrollable">
|
||||
{{>partials/navbar.html isDemo=true}}
|
||||
<canvas id="pf-canvas" width="400" height="300"></canvas>
|
||||
<div class="fixed-bottom mb-3 d-flex justify-content-between align-items-end pf-pointer-events-none">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{>partials/header.html}}
|
||||
<script type="text/javascript" src="/js/pathfinder/benchmark.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="pf-unscrollable">
|
||||
{{>partials/navbar.html isTool=true}}
|
||||
<canvas id="pf-canvas" class="pf-draggable" width="400" height="300"></canvas>
|
||||
<div id="pf-nonoverlapping-bottom-bar"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{>partials/header.html}}
|
||||
<script type="text/javascript" src="/js/pathfinder/mesh-debugger.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="pf-unscrollable">
|
||||
{{>partials/navbar.html isTool=true}}
|
||||
<canvas id="pf-canvas" width="400" height="300"></canvas>
|
||||
</body>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{>partials/header.html}}
|
||||
<script type="text/javascript" src="/js/pathfinder/svg-demo.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="pf-unscrollable">
|
||||
{{>partials/navbar.html isDemo=true}}
|
||||
<canvas id="pf-canvas" class="pf-draggable" width="400" height="300"></canvas>
|
||||
<svg id="pf-svg" xmlns="http://www.w3.org/2000/svg" width="400" height="300"></svg>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{>partials/header.html}}
|
||||
<script type="text/javascript" src="/js/pathfinder/text-demo.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="pf-unscrollable">
|
||||
{{>partials/navbar.html isDemo=true}}
|
||||
<canvas id="pf-canvas" class="pf-draggable" width="400" height="300"></canvas>
|
||||
<div class="fixed-bottom mb-3 d-flex justify-content-between align-items-end pf-pointer-events-none">
|
||||
|
|
Loading…
Reference in New Issue