fix: Tabellenfarben und Originalbreiten in Ansicht erhalten
This commit is contained in:
@@ -5,7 +5,7 @@ class DocumentationConfig(PluginConfig):
|
|||||||
name = "netbox_documentation"
|
name = "netbox_documentation"
|
||||||
verbose_name = "NetBox Dokumentation"
|
verbose_name = "NetBox Dokumentation"
|
||||||
description = "Wiki und Office-Dokumentation direkt in NetBox"
|
description = "Wiki und Office-Dokumentation direkt in NetBox"
|
||||||
version = "0.7.1"
|
version = "0.7.2"
|
||||||
author = "LKE"
|
author = "LKE"
|
||||||
base_url = "documentation"
|
base_url = "documentation"
|
||||||
min_version = "4.0.0"
|
min_version = "4.0.0"
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class Document(NetBoxModel):
|
|||||||
"*": ("class", "style"),
|
"*": ("class", "style"),
|
||||||
}
|
}
|
||||||
css = CSSSanitizer(allowed_css_properties={
|
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",
|
"color", "font-family", "font-size", "font-style", "font-weight", "height",
|
||||||
"border-collapse", "line-height", "list-style-type", "margin", "margin-bottom",
|
"border-collapse", "line-height", "list-style-type", "margin", "margin-bottom",
|
||||||
"margin-left", "margin-right", "margin-top", "padding", "padding-bottom",
|
"margin-left", "margin-right", "margin-top", "padding", "padding-bottom",
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
}
|
}
|
||||||
.documentation-content table {
|
.documentation-content table {
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 100%;
|
max-width: none;
|
||||||
table-layout: auto;
|
table-layout: auto;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
.documentation-content td {
|
.documentation-content td {
|
||||||
padding: .45rem;
|
padding: .45rem;
|
||||||
border: 1px solid #adb5bd;
|
border: 1px solid #adb5bd;
|
||||||
overflow-wrap: anywhere;
|
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "netbox-documentation"
|
name = "netbox-documentation"
|
||||||
version = "0.7.1"
|
version = "0.7.2"
|
||||||
description = "Integrated Markdown wiki and office document importer for NetBox"
|
description = "Integrated Markdown wiki and office document importer for NetBox"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|||||||
Reference in New Issue
Block a user