fix: Tabellenfarben und Originalbreiten in Ansicht erhalten

This commit is contained in:
2026-07-23 14:33:32 +02:00
parent bf68c9c9ed
commit d9ded6287f
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ class DocumentationConfig(PluginConfig):
name = "netbox_documentation"
verbose_name = "NetBox Dokumentation"
description = "Wiki und Office-Dokumentation direkt in NetBox"
version = "0.7.1"
version = "0.7.2"
author = "LKE"
base_url = "documentation"
min_version = "4.0.0"
+1 -1
View File
@@ -53,7 +53,7 @@ class Document(NetBoxModel):
"*": ("class", "style"),
}
css = CSSSanitizer(allowed_css_properties={
"background-color", "border", "border-color", "border-style", "border-width",
"background", "background-color", "border", "border-color", "border-style", "border-width",
"color", "font-family", "font-size", "font-style", "font-weight", "height",
"border-collapse", "line-height", "list-style-type", "margin", "margin-bottom",
"margin-left", "margin-right", "margin-top", "padding", "padding-bottom",
@@ -10,7 +10,7 @@
}
.documentation-content table {
width: auto;
max-width: 100%;
max-width: none;
table-layout: auto;
border-collapse: collapse;
}
@@ -18,7 +18,6 @@
.documentation-content td {
padding: .45rem;
border: 1px solid #adb5bd;
overflow-wrap: anywhere;
word-break: normal;
vertical-align: top;
}
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "netbox-documentation"
version = "0.7.1"
version = "0.7.2"
description = "Integrated Markdown wiki and office document importer for NetBox"
readme = "README.md"
requires-python = ">=3.10"