increase default width for input fields, use smaller font for text areas
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3579 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
fa4e4eed89
commit
c6d1142a24
2 changed files with 6 additions and 2 deletions
|
@ -262,7 +262,7 @@
|
||||||
<!-- overridden field renderers -->
|
<!-- overridden field renderers -->
|
||||||
|
|
||||||
<metal:html define-macro="input_html">
|
<metal:html define-macro="input_html">
|
||||||
<textarea name="field" rows="3" style="width: 450px"
|
<textarea name="field" rows="3" style="width: 550px"
|
||||||
dojoType="dijit.Editor"
|
dojoType="dijit.Editor"
|
||||||
extraPlugins="['insertHorizontalRule','createLink']"
|
extraPlugins="['insertHorizontalRule','createLink']"
|
||||||
tal:define="width field/width|nothing;
|
tal:define="width field/width|nothing;
|
||||||
|
@ -270,7 +270,7 @@
|
||||||
tal:attributes="name name; id name;
|
tal:attributes="name name; id name;
|
||||||
rows python: height or 3;
|
rows python: height or 3;
|
||||||
style python:
|
style python:
|
||||||
'width: %s' % (width and str(width)+'px' or '450px');"
|
'width: %s' % (width and str(width)+'px' or '550px');"
|
||||||
tal:content="data/?name|string:">
|
tal:content="data/?name|string:">
|
||||||
</textarea>
|
</textarea>
|
||||||
</metal:html>
|
</metal:html>
|
||||||
|
|
|
@ -32,6 +32,10 @@ blockquote ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
font-size: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* class-specific */
|
/* class-specific */
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
|
|
Loading…
Add table
Reference in a new issue