Skip to content

Commit 3b0f1b5

Browse files
authored
Lucide: Fix issue with spacing causing render issues (#408)
1 parent ac4a96f commit 3b0f1b5

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ root = true
33
[*]
44
indent_style = space
55
indent_size = 2
6-
insert_final_newline = true
7-
end_of_line = lf
6+
insert_final_newline = false
7+
end_of_line = lf

exampleSite/content/test-product/tables/examples/n4a-config.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ type:
88
## NGINX filesystem restrictions
99
NGINXaaS for Azure places restrictions on the instance's filesystem; only a specific set of directories are allowed to be read from and written to. Below is a table describing what directories the NGINX worker process can read and write to and what directories files can be written to. These files include certificate files and any files uploaded to the deployment, excluding NGINX configuration files.
1010

11-
{{<bootstrap-table "table table-striped table-bordered">}}
11+
{{<bootstrap-table "table table-striped table-bordered">}}
1212
| Allowed Directory | NGINX worker process can read/write to | Files can be written to |
13-
|------------------ | ----------------- | ----------------- |
14-
| /etc/nginx | | &check; |
15-
| /opt | &check; | &check; |
16-
| /srv | &check; | &check; |
17-
| /tmp | &check; | |
18-
| /var/cache/nginx | &check; | |
19-
| /var/www | &check; | &check; |
13+
|-------------------- | -------------------- | -------------------- |
14+
| /etc/nginx | | {{< icon "check" >}} |
15+
| /opt | {{< icon "check" >}} | {{< icon "check" >}} |
16+
| /srv | {{< icon "check" >}} | {{< icon "check" >}} |
17+
| /tmp | {{< icon "check" >}} | |
18+
| /var/cache/nginx | {{< icon "check" >}} | |
19+
| /var/www | {{< icon "check" >}} | {{< icon "check" >}} |
2020
{{</bootstrap-table>}}
2121

2222
Attempts to access other directories will be denied and result in a `5xx` error.
@@ -50,4 +50,4 @@ Some directives cannot be overridden by the user provided configuration.
5050
| `master_process` | `on` | This directive is intended for NGINX developers. |
5151
| `worker_cpu_affinity` | `auto` | The value `auto` allows binding worker processes automatically to available CPUs based on the current capacity of the deployment. |
5252

53-
{{</bootstrap-table>}}
53+
{{</bootstrap-table>}}

layouts/partials/lucide.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{- /* Usage: */ -}}
22
{{- /* (dict "context" . "icon" "circle") */ -}}
33
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true" class="lucide" style="{{ .style | safeCSS }}">
4-
{{ with printf "images/lucide-sprite.svg#%s" .icon }}
5-
<use href="{{. | absURL}}"></use>
6-
{{ end }}
7-
</svg>
4+
{{- with printf "images/lucide-sprite.svg#%s" .icon -}}
5+
<use href="{{. | absURL}}"></use>
6+
{{- end -}}
7+
</svg>

0 commit comments

Comments
 (0)