Skip to content

Commit ff84194

Browse files
authored
Merge branch 'main' into demo
2 parents 70411e2 + 75b3268 commit ff84194

File tree

3 files changed

+40
-6
lines changed

3 files changed

+40
-6
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"ssg": "hugo",
3+
"mode": "hosted",
4+
"build": {
5+
"install_command": "[ -f package.json ] && npm i",
6+
"build_command": "hugo --destination public --baseURL / --noTimes",
7+
"output_path": "public",
8+
"environment_variables": [
9+
{
10+
"key": "HUGO_CACHEDIR",
11+
"value": "/usr/local/__site/src/.hugo_cache/"
12+
}
13+
],
14+
"preserved_paths": "node_modules/,.hugo_cache/,resources/",
15+
"preserve_output": false,
16+
"include_git": true,
17+
"manually_configure_urls": false,
18+
"hugo_version": "0.134.3",
19+
"ruby_version": "2.7.3",
20+
"node_version": "18",
21+
"deno_version": "1.40.2"
22+
}
23+
}

layouts/redoc/single.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.nginx-docs-api-container {
55
z-index: 0 !important;
66
max-width: calc(100% + 2.4rem);
7+
margin-top: 2rem;
78
}
89

910
@media (min-width: 768px) {
@@ -83,6 +84,13 @@
8384
>
8485
{{ partial "sidebar.html" . }}
8586
</nav>
87+
<section class="breadcrumb-layout" data-mf="true" style="display: none;">
88+
{{ if not .IsHome }}
89+
{{ if not (in .Params.display_breadcrumb "false" ) }}
90+
{{ partial "breadcrumb" .}}
91+
{{ end }}
92+
{{ end }}
93+
</section>
8694
<div class="nginx-docs-api-container">
8795
<div id="api-component">{{ .Content}}</div>
8896
</div>

static/nginxaas-azure/css/cost-calculator_v2.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
}
2929

3030
#calculator .section {
31-
margin: 0 auto 24px auto;
32-
max-width: 900px;
31+
margin: 1rem auto 1rem auto;
3332
}
3433

3534
#calculator #totals-section {
@@ -81,7 +80,6 @@
8180

8281
#calculator .details-section {
8382
padding: 10px;
84-
background-color: rgba(217, 217, 217, 0.1);
8583
margin-right: 10px;
8684
flex: 1;
8785
}
@@ -204,8 +202,8 @@
204202

205203
@media print {
206204
body {
207-
visibility: hidden;
208-
height: 0;
205+
visibility: hidden !important;
206+
height: 0 !important;
209207
}
210208

211209
footer {
@@ -219,7 +217,12 @@
219217

220218
margin: 0 auto;
221219

222-
width: 100%;
220+
width: fit-content;
221+
left: 0;
222+
}
223+
224+
#calculator .section {
225+
margin: 0;
223226
}
224227

225228
#calculator h3#calculator-section-heading {

0 commit comments

Comments
 (0)