1. Waldemar Kornewald
  2. allbuttonspressed

Commits

Waldemar Kornewald  committed 820ba66

use slightly smaller textarea

  • Participants
  • Parent commits c18e760
  • Branches default

Comments (0)

Files changed (1)

File minicms/admin.py

View file
 # The default TextField doesn't have enough rows
 class UsableTextarea(AdminTextareaWidget):
     def __init__(self, attrs=None):
-        default_attrs = {'rows': '40'}
+        default_attrs = {'rows': '32'}
         if attrs:
             default_attrs.update(attrs)
         super(UsableTextarea, self).__init__(default_attrs)