[views] a 'div' with 'display: inline' screams 'span'
(grafted from af6e3db801fcfbd6f562c4a7cfdc89f187042792)
--- a/web/data/cubicweb.css Tue May 13 18:47:52 2014 +0200
+++ b/web/data/cubicweb.css Mon Jun 02 12:23:18 2014 +0200
@@ -208,10 +208,6 @@
padding: 0px 0px 1px 1px;
}
-li.invisible div{
- display: inline;
-}
-
.caption {
font-weight: bold;
}
--- a/web/data/cubicweb.old.css Tue May 13 18:47:52 2014 +0200
+++ b/web/data/cubicweb.old.css Mon Jun 02 12:23:18 2014 +0200
@@ -225,10 +225,6 @@
padding: 0px 0px 1px 1px;
}
-li.invisible div {
- display: inline;
-}
-
.caption {
font-weight: bold;
}
--- a/web/views/autoform.py Tue May 13 18:47:52 2014 +0200
+++ b/web/views/autoform.py Mon Jun 02 12:23:18 2014 +0200
@@ -506,7 +506,7 @@
w(u'<td>')
w(u'<ul>')
for viewparams in related:
- w(u'<li class="invisible">%s<div id="span%s" class="%s">%s</div></li>'
+ w(u'<li class="invisible">%s<span id="span%s" class="%s">%s</span></li>'
% (viewparams[1], viewparams[0], viewparams[2], viewparams[3]))
if not form.force_display and form.maxrelitems < len(related):
link = (u'<span class="invisible">'