Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 68504d0

Browse files
authored
Merge pull request #96 from mxab/master
Some styling to prevent voyager graph cut off
2 parents 24539b8 + 78afe42 commit 68504d0

File tree

1 file changed

+16
-0
lines changed
  • voyager-spring-boot-autoconfigure/src/main/resources

1 file changed

+16
-0
lines changed

voyager-spring-boot-autoconfigure/src/main/resources/voyager.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66

77
<link rel="stylesheet" href="https://apis.guru/graphql-voyager/releases/v1.x/voyager.css" />
88
<script src="https://apis.guru/graphql-voyager/releases/v1.x/voyager.min.js"></script>
9+
<meta charset="utf-8">
10+
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
11+
<title>GraphQL Voyager</title>
12+
<style>
13+
body {
14+
padding: 0;
15+
margin: 0;
16+
width: 100%;
17+
height: 100vh;
18+
overflow: hidden;
19+
}
20+
#voyager {
21+
height: 100%;
22+
position: relative;
23+
}
24+
</style>
925
</head>
1026
<body>
1127
<div id="voyager">Loading...</div>

0 commit comments

Comments
 (0)