2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

Merge pull request #198 from SergeoLacruz/main
Some checks are pending
Build pages and publish / build (push) Waiting to run

Changed position of raw tag
This commit is contained in:
Oliver 2024-04-25 19:20:14 +10:00 committed by GitHub
commit 803645e326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,15 +80,17 @@ The label needs a template described in html and css. The template should
start with a page definition that defines the label size as shown below:
```
{% raw %}
@page {
{% raw %}{% localize off %}{% endraw %}
{% localize off %}
height: {{ height }}mm;
width: {{ width }}mm;
{% raw %}{% endlocalize %}{% endraw %}
{% endlocalize %}
padding: 0mm;
margin: 0px 0px 0px 0px;
background-color: white;
}
{% endraw %}
```
The height and width parameters are defined in the InvenTree admin panel