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

Changed position of raw tag

This commit is contained in:
Michael 2024-04-25 10:30:51 +02:00
parent 1aff3eda8c
commit 702fab23ad

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