Hi all, This little css patch try to align values in form and data views that spans to multiple lines.
I've tried it on various browsers (IE, Firefox, Chromium, Konqueror) and it seems to work. Perhaps it could be added to the default css style for Weblocks? Bye, Andrea. -- Software vuol dire conoscenza! Per questo dev'essere un bene comune! Usa software libero e contribisci a cambiare il mondo: http://www.softwarelibero.it http://www.fsf.org http://www.gnu.org
-- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
# HG changeset patch # User Andrea Russo <[email protected]> # Date 1309183783 -7200 # Node ID dde87661f2512dce4b5fc51ca1b9bac308102722 # Parent 04bb7a4496d32a6bde6a21936ab2576138a134db CSS Styling. Align text that spans in multiple lines in data and form views diff -r 04bb7a4496d3 -r dde87661f251 pub/stylesheets/main.css --- a/pub/stylesheets/main.css Mon Jun 27 14:46:08 2011 +0200 +++ b/pub/stylesheets/main.css Mon Jun 27 16:09:43 2011 +0200 @@ -177,6 +177,16 @@ width: 27em; } +/* Align text that spans in multiple lines in data and form views */ +.form ul li span.value, .data ul li span.value { + display: inline-block; + width: 70%; +} + +.form ul li span.slot-name, .data ul li span.label { + vertical-align: top; +} + /* Close button */ span.close-button {
