hdoc-tools 0.8.32 → 0.8.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/pdf/css/hdocs-pdf.css +8 -0
- package/ui/index.html +2 -2
- package/LICENSE +0 -21
package/package.json
CHANGED
@@ -74,6 +74,7 @@ table {
|
|
74
74
|
border-collapse: collapse;
|
75
75
|
margin: 20px 0;
|
76
76
|
font-size: var(--htl-default-font-size);
|
77
|
+
break-inside: avoid;
|
77
78
|
/* sets font-size for table and table rows/td/th etc*/
|
78
79
|
}
|
79
80
|
|
@@ -112,6 +113,9 @@ hr {
|
|
112
113
|
img,
|
113
114
|
svg {
|
114
115
|
display: inline-block;
|
116
|
+
max-height: 750px;
|
117
|
+
height: auto;
|
118
|
+
break-inside: avoid;
|
115
119
|
}
|
116
120
|
|
117
121
|
video,
|
@@ -130,7 +134,9 @@ figure {
|
|
130
134
|
img,
|
131
135
|
video {
|
132
136
|
max-width: 100%;
|
137
|
+
max-height: 750px;
|
133
138
|
height: auto;
|
139
|
+
break-inside: avoid;
|
134
140
|
}
|
135
141
|
|
136
142
|
.header {
|
@@ -166,6 +172,7 @@ video {
|
|
166
172
|
font-size: var(--htl-small-font-size);
|
167
173
|
}
|
168
174
|
|
175
|
+
|
169
176
|
.hdoc-alert {
|
170
177
|
border: 1px solid transparent;
|
171
178
|
border-radius: 8px;
|
@@ -174,6 +181,7 @@ video {
|
|
174
181
|
font-size: var(--htl-default-font-size);
|
175
182
|
color: var(--htl-c-text-2);
|
176
183
|
margin: 10px 0;
|
184
|
+
break-inside: avoid;
|
177
185
|
}
|
178
186
|
|
179
187
|
.hdoc-alert p {
|
package/ui/index.html
CHANGED
@@ -250,8 +250,8 @@
|
|
250
250
|
<span class="title">In This Document</span>
|
251
251
|
</div>
|
252
252
|
<div v-if="docApp.tableOfContents.length" class="panel-content">
|
253
|
-
<div v-for="tocItem in docApp.tableOfContents">
|
254
|
-
<a :href="tocItem.href">{{tocItem.eleText}}</a>
|
253
|
+
<div v-for="tocItem in docApp.tableOfContents" v-bind:class="{'ms-3':tocItem.tagName=='H3'}">
|
254
|
+
<a :href="tocItem.href">{{tocItem.eleText}} {{tocItem.tagName}}</a>
|
255
255
|
</div>
|
256
256
|
</div>
|
257
257
|
</div>
|
package/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2022 Hornbill Docs
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|