Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent scrolling in landscape mode #134

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<div id="app"></div>
</body>
</html>
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div id="nav">
<!-- <router-link to="/">Home</router-link> -->
<!-- <router-link to="/about">About</router-link> -->
</div>
<!-- <div id="nav">
<router-link to="/">Home</router-link>
<router-link to="/about">About</router-link>
</div> -->
<router-view />
</template>
<script lang="ts">
Expand Down
3 changes: 3 additions & 0 deletions src/components/NetworkMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,12 @@ line.select {
#brushBtns {
position: absolute;
visibility: hidden;
top: 0;
right: 0;
// display: flex;
// flex-direction: column;
}

#brushBtns > button {
display: block;
margin-bottom: 0.5rem;
Expand Down
6 changes: 5 additions & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default defineComponent({
background: $fhstpblue; /* #005096; /* $light; */
color: white;
padding: 1vmin 1vmin 0.3rem 1vmin;
margin: 0.5rem 1px 0 1px;
margin: 1rem 1px 0 1px;
border-radius: 6px 6px 0 0;
flex-shrink: 0;

Expand Down Expand Up @@ -189,6 +189,10 @@ export default defineComponent({
overflow-y: auto;
}

html {
overflow-y: hidden !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
display: none;
Expand Down