From 3c203fa4952fcf8604954ca5f616df1a31f51bf4 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Mon, 18 Jun 2012 15:10:10 +0200 Subject: [PATCH] fix form layout (width of input fields) --- composer/schema/browser/schema_macros.pt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer/schema/browser/schema_macros.pt b/composer/schema/browser/schema_macros.pt index b66dfaa..fa1b836 100755 --- a/composer/schema/browser/schema_macros.pt +++ b/composer/schema/browser/schema_macros.pt @@ -60,7 +60,7 @@ - ... * @@ -90,7 +90,7 @@ tal:define="width field/width|nothing" tal:attributes="name name; id name; style python: - ('width: %s;;' % (width and str(width)+'px' or '600px')) + + ('width: %s;;' % (width and str(width)+'px' or '555px')) + 'height: 1.5em;;'; value data/?name|string:; xxrequired field/required_js;" /> @@ -119,7 +119,7 @@ tal:define="width field/width|nothing" tal:attributes="name name; style python: - 'width: %s' % (width and str(width)+'px' or '600px'); + 'width: %s' % (width and str(width)+'px' or '555px'); value data/?name|string:" /> @@ -131,7 +131,7 @@ tal:attributes="name name; rows python: height or 3; style python: - 'width: %s' % (width and str(width)+'px' or '600px');" + 'width: %s' % (width and str(width)+'px' or '545px');" tal:content="data/?name|string:"> @@ -178,7 +178,7 @@ tal:attributes="name name; rows python: height or 3; style python: - 'width: %s' % (width and str(width)+'px' or '600px');" + 'width: %s' % (width and str(width)+'px' or '555px');" tal:content="data/?name|string:" />