projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6dfb03e
)
Widen textarea
author
Joey Schulze
<joey@infodrom.org>
Fri, 5 Mar 2010 08:11:54 +0000
(09:11 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 5 Mar 2010 08:11:54 +0000
(09:11 +0100)
lib/mask.php
patch
|
blob
|
history
stylesheet.css
patch
|
blob
|
history
diff --git
a/lib/mask.php
b/lib/mask.php
index
6791c47
..
3ad3dd0
100644
(file)
--- a/
lib/mask.php
+++ b/
lib/mask.php
@@
-65,8
+65,8
@@
function build_form($name, $mask)
$ret[] = sprintf('<label for="edit_%s">%s</label><br>', $id, $info['name']);
$v = array('id="edit_'.$id.'"',
'name="'.$id.'"');
$ret[] = sprintf('<label for="edit_%s">%s</label><br>', $id, $info['name']);
$v = array('id="edit_'.$id.'"',
'name="'.$id.'"');
- $v[] = sprintf('cols="%d"', empty($info['columns'])?
'25'
:$info['columns']);
- $v[] = sprintf('rows="%d"', empty($info['rows'])?
'5'
:$info['columns']);
+ $v[] = sprintf('cols="%d"', empty($info['columns'])?
33
:$info['columns']);
+ $v[] = sprintf('rows="%d"', empty($info['rows'])?
5
:$info['columns']);
$ret[] = sprintf('<textarea %s></textarea>', implode(' ', $v));
}
if (array_key_exists('comment',$info))
$ret[] = sprintf('<textarea %s></textarea>', implode(' ', $v));
}
if (array_key_exists('comment',$info))
diff --git
a/stylesheet.css
b/stylesheet.css
index
543605c
..
68e6182
100644
(file)
--- a/
stylesheet.css
+++ b/
stylesheet.css
@@
-42,6
+42,10
@@
input, select {
background: white;
}
background: white;
}
+textarea {
+ font-size: 90%;
+}
+
button {
border: 1px solid #CCC;
color: inherit;
button {
border: 1px solid #CCC;
color: inherit;