From 6ec84fb7f50647b4be72dc5c0b22e07cf4ec8eaf Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sat, 30 Mar 2013 08:40:49 +0000 Subject: [PATCH] editlayer: fix checkboxes not showing up in Chromium Somehow due to some CSS shenanigans these checkboxes had 0 width in Chromium and thus were invisible. A style on the td had to be used because a style on the input doesn't seem to fix it. Signed-off-by: Paul Eggleton --- layerindex/static/css/additional.css | 6 +++++- templates/layerindex/editlayer.html | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/layerindex/static/css/additional.css b/layerindex/static/css/additional.css index 1e2e7b3..a5fb269 100644 --- a/layerindex/static/css/additional.css +++ b/layerindex/static/css/additional.css @@ -68,7 +68,7 @@ padding: 8px; padding: 4px; } -.scrolling checkbox, label { +.scrolling label { margin: 0px; } @@ -84,6 +84,10 @@ padding: 8px; width: 50%; } +.checkboxtd input { + width: 25px; +} + #maintainers { padding-top: 0.75em; } diff --git a/templates/layerindex/editlayer.html b/templates/layerindex/editlayer.html index ba8c0ed..e859d6d 100644 --- a/templates/layerindex/editlayer.html +++ b/templates/layerindex/editlayer.html @@ -62,7 +62,7 @@ {% for deplayer in deplistlayers %} {% if deplayer.id in form.checked_deps %} - + {% if deplayer.status = 'N' %} {% else %} @@ -74,7 +74,7 @@ {% for deplayer in deplistlayers %} {% if not deplayer.id in form.checked_deps %} - + {% if deplayer.status = 'N' %} {% else %}