Module: check_mk
Branch: master
Commit: aa1eedad133e7957efed24b22c102968f36301cf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aa1eedad133e79…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 23 11:14:29 2017 +0100
Fixed text alignment of host edit page (and other forms)
Change-Id: I78793c20ac48baf1139e9cc398ee3019ac2f7917
---
web/htdocs/pages.css | 7 +++----
web/htdocs/wato.py | 3 ++-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index 0c8b5fe..cc6ca6a 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -871,6 +871,7 @@ input.date, input.time {
span.checkbox {
white-space: nowrap;
+ line-height: 14px;
}
@@ -921,8 +922,7 @@ table.nform > tbody > tr > td {
}
table.nform > tbody > tr > td.simple {
- vertical-align: top;
- height: 18px;
+ line-height: 20px;
}
table.nform td.legend {
@@ -930,8 +930,8 @@ table.nform td.legend {
width: 240px;
padding-right: 8px;
vertical-align: top;
- padding-top: 8px;
padding-left: 10px;
+ line-height: 28px;
}
table.nform td.legend.simple {
padding-top: 5px;
@@ -967,7 +967,6 @@ table.nform td.legend div.checkbox {
table.nform td.content {
padding-left: 10px;
padding-right: 10px;
- padding-bottom: 10px;
}
table.nform td.content.simple {
padding-bottom: 0px;
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1095d38..f5df3d4 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -17411,7 +17411,8 @@ def configure_attributes(new, hosts, for_what, parent,
myself=None, without_attr
attr.render_input(varprefix, defvalue)
html.close_div()
- html.open_div(class_="inherited",
id_="attr_default_%s" % attrname, style="display: none;" if active
else None)
+ html.open_div(class_="inherited",
id_="attr_default_%s" % attrname,
+ style="display: none;" if active else None)
#
# DIV with actual / inherited / default value