Commit f696a22 1 parent 24923f2 commit f696a22 Copy full SHA for f696a22
File tree 2 files changed +6
-21
lines changed
doc/themes/the-things-stack
layouts/shortcodes/openapi
2 files changed +6
-21
lines changed Original file line number Diff line number Diff line change 3
3
flex-direction : row ;
4
4
align-items : center ;
5
5
justify-content : space-between ;
6
+ padding-bottom : 1rem ;
7
+ }
8
+
9
+ .api-page-header h3 {
10
+ margin-bottom : 0 ;
6
11
}
7
12
8
13
.collapse-button {
31
36
flex-direction : column ;
32
37
align-items : stretch ;
33
38
width : 100% ;
34
- margin-bottom : 1rem ;
39
+ margin-top : 1rem ;
35
40
border : 1px solid #e5e5e5 ;
36
41
border-radius : 0.25rem ;
37
42
padding : 0.5rem ;
Original file line number Diff line number Diff line change 4
4
< div class ="api-page-header ">
5
5
< h3 > The Things Stack HTTP (REST) API Reference</ h3 >
6
6
< p > Version: < code > {{ $openapi.info.version }} </ code > </ p >
7
- < button
8
- class ="collapse-button "
9
- onclick ="collapseAll() "
10
- title ="Collapse All Services "
11
- >
12
- {{- $upArrow := resources.Get "/img/expand_less.svg" }}
13
- < img src ="{{ $upArrow.Permalink }} " alt ="Collapse all " />
14
- </ button >
15
7
</ div >
16
8
< div class ="api-tags-table ">
17
9
< table >
@@ -38,18 +30,6 @@ <h3>The Things Stack HTTP (REST) API Reference</h3>
38
30
< span > < h4 class ="api-tag-header " id ="{{ $tag }} "> {{ $tag }}</ h4 > </ span >
39
31
< div class ="api-tag-summary ">
40
32
< p > {{ $tagDetails.description }}</ p >
41
- {{- $downArrow := resources.Get "/img/expand_more.svg" }} {{- $upArrow :=
42
- resources.Get "/img/expand_less.svg" }}
43
- < img
44
- class ="api-tag-summary-icon-expand "
45
- src ="{{ $downArrow.Permalink }} "
46
- alt ="Expand "
47
- />
48
- < img
49
- class ="api-tag-summary-icon-collapse "
50
- src ="{{ $upArrow.Permalink }} "
51
- alt ="Collapse "
52
- />
53
33
</ div >
54
34
< div class ="api-items ">
55
35
{{ range $path, $pathMethods := $openapi.paths }} {{ range $pathMethod,
You can’t perform that action at this time.
0 commit comments