Opened 9 years ago
Closed 9 years ago
#12159 closed enhancement (fixed)
Vertical align ticket field labels
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.9 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | layout css |
Cc: | Branch: | ||
Release Notes: |
Labels are vertically centered for fields other than |
||
API Changes: | |||
Internal Changes: |
Description
This is a follow-on to the work done in #11471, and recently discussed in gmessage:trac-users:XwHkDpcBdpo/ZPKhGyNPCAAJ.
Vertical-alignment of the field labels to the middle seems to result in a better layout:
Attachments (5)
Change History (12)
by , 9 years ago
by , 9 years ago
Attachment: | before.png added |
---|
by , 9 years ago
Attachment: | AllLabelsCentered.png added |
---|
by , 9 years ago
Attachment: | AllLabelsTop.png added |
---|
comment:1 by , 9 years ago
follow-up: 4 comment:2 by , 9 years ago
We could top-align Description and center the other labels since Description is a bit of a special case. Or top-align all textareas and center all other labels.
comment:3 by , 9 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
by , 9 years ago
Attachment: | t12159.diff added |
---|
comment:5 by , 9 years ago
attachment:t12159.diff adds the textarea
class to the th
of a row containing a textarea
, top-aligning the label of textarea
s.
comment:6 by , 9 years ago
The class should be trac-textarea
. I'll make the change before committing.
comment:7 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I remember spending some time on this in #11471. I think I didn't like that the Description label was centered with the change, but now I don't think it necessarily looks so bad.
trac/htdocs/css/ticket.css
top;