From 6912c2dff10a004eefd16132748de001651a8451 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 12 Jul 2013 16:40:29 +0200 Subject: [PATCH] Partpicker: Genug Padding um das icon unterzubringen --- css/kivitendo/main.css | 4 ++++ css/lx-office-erp/main.css | 4 ++++ templates/webpages/part/test_page.html | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/css/kivitendo/main.css b/css/kivitendo/main.css index c14bfbd05..66a180843 100644 --- a/css/kivitendo/main.css +++ b/css/kivitendo/main.css @@ -397,6 +397,10 @@ label { position: absolute; } +.part_picker { + padding-right: 16px; +} + div.part_picker_part { float:left; width: 350px; padding: 5px; diff --git a/css/lx-office-erp/main.css b/css/lx-office-erp/main.css index 08e7a22ce..a5b33a706 100644 --- a/css/lx-office-erp/main.css +++ b/css/lx-office-erp/main.css @@ -449,6 +449,10 @@ label { position: absolute; } +.part_picker { + padding-right: 16px; +} + div.part_picker_part { float:left; width: 350px; padding: 5px; diff --git a/templates/webpages/part/test_page.html b/templates/webpages/part/test_page.html index 202b5d3cd..61aa10593 100644 --- a/templates/webpages/part/test_page.html +++ b/templates/webpages/part/test_page.html @@ -4,10 +4,15 @@
Alle:
-[% L.part_picker('part_id') %]
+[% L.part_picker('part_id') %] text
Nur Waren:
[% L.part_picker('part_id2', undef, type='part') %]
Nur Dienstleistungen:
[% L.part_picker('part_id3', undef, type='service') %]
Waren und Dienstleistungen:
[% L.part_picker('part_id4', undef, type='part,service') %]
+ + +[%# FOREACH i IN 1..50 %] +[%# L.part_picker('part_id_' _ i) %]
+[%# END %] -- 2.20.1