From bfce4343d79968c0f7bcec162da9175bb01433c5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 19 Mar 2014 12:07:09 +0000 Subject: [PATCH] display readonly selectbox inline and give some padding between it and its label --- etemplate/templates/default/etemplate2.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etemplate/templates/default/etemplate2.css b/etemplate/templates/default/etemplate2.css index b4cdbc6514..8fc3886fda 100644 --- a/etemplate/templates/default/etemplate2.css +++ b/etemplate/templates/default/etemplate2.css @@ -336,10 +336,14 @@ button#cancel { .et2_selectbox .ui-multiselect-checkboxes li:hover div.ui-icon-close { visibility: visible; } -/* Read-only multi-select */ +/* Read-only (multi-)select */ ul.et2_selectbox { margin: 0px; padding: 0px; + display: inline-block; +} +label.et2_label > ul.et2_selectbox { + padding-left: 5px; } .et2_selectbox li { text-decoration: none;