ShawnAI commited on
Commit
f7c30a7
·
1 Parent(s): 15cdf3a

Update dist/index.html

Browse files
Files changed (1) hide show
  1. dist/index.html +15 -8
dist/index.html CHANGED
@@ -18,22 +18,23 @@
18
  }
19
 
20
  ul {
21
- margin-top: 0.3em;
22
- margin-bottom: 1em;
23
  }
24
 
25
  h5 {
26
- margin: 0;
 
27
  }
28
 
29
  /* table of contents */
30
  #toc {
31
  padding: 0;
32
- margin-bottom: 0;
33
  background-color: white;
34
  z-index: 2;
35
- width: 250px;
36
  position: fixed;
 
37
 
38
  }
39
 
@@ -51,14 +52,17 @@
51
 
52
  <body>
53
  <div id="toc">
54
- <select id="release-select" onchange="update(currentFile)">
 
 
 
55
  <option value="Rel-18">Rel-18</option>
56
  <option value="Rel-17">Rel-17</option>
57
  <option value="Rel-16">Rel-16</option>
58
  <option value="Rel-15">Rel-15</option>
59
  </select>
60
- <label for="release-select"><b>NF List:</b></label>
61
- <br></br>
62
  <nav class="toc">
63
  <h5>AMF 29518</h5>
64
  <ul class="compact toc ulBare ulEmpty">
@@ -172,6 +176,9 @@
172
  toc.querySelector("label").addEventListener("click", e => {
173
  toc.classList.toggle("active");
174
  });
 
 
 
175
 
176
  </script>
177
  </body>
 
18
  }
19
 
20
  ul {
21
+ margin-top: 0.4em;
22
+ margin-bottom: 0;
23
  }
24
 
25
  h5 {
26
+ margin-top: 1em;
27
+ margin-bottom: 0;
28
  }
29
 
30
  /* table of contents */
31
  #toc {
32
  padding: 0;
 
33
  background-color: white;
34
  z-index: 2;
35
+ /* width: 250px; */
36
  position: fixed;
37
+ /* border: solid; */
38
 
39
  }
40
 
 
52
 
53
  <body>
54
  <div id="toc">
55
+ <h class="toc">
56
+
57
+ <select id="release-select"
58
+ onchange="update(currentFile)">
59
  <option value="Rel-18">Rel-18</option>
60
  <option value="Rel-17">Rel-17</option>
61
  <option value="Rel-16">Rel-16</option>
62
  <option value="Rel-15">Rel-15</option>
63
  </select>
64
+ <label for="release-select"><b>NF List ▼</b></label>
65
+ </h>
66
  <nav class="toc">
67
  <h5>AMF 29518</h5>
68
  <ul class="compact toc ulBare ulEmpty">
 
176
  toc.querySelector("label").addEventListener("click", e => {
177
  toc.classList.toggle("active");
178
  });
179
+ toc.querySelector("nav").addEventListener("click", e => {
180
+ toc.classList.remove("active");
181
+ });
182
 
183
  </script>
184
  </body>