Ticket #1013 (closed defect: fixed)
Opened 7 years ago
Last modified 5 years ago
Preference of timeline is too wide
| Reported by: | anonymous | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | timeline | Version: | 0.8 |
| Severity: | minor | Keywords: | layout |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Preference box of top-right on timeline page is too wide for me
because most recent entries are folded and hard to see them.
I suggest it should be more compact like this.
View changes from
[2004/12/02] and
[ 30] days back.
[x] Ticket changes
[x] Repository checkins
[x] Wiki changes
[x] Milestones
[Update]
Attachments
Change History
comment:1 Changed 7 years ago by cmlenz
- Keywords layout added
comment:2 Changed 7 years ago by Shun-ichi Goto <gotoh@…>
comment:3 Changed 7 years ago by Shun-ichi Goto <gotoh@…>
TIPs. If you are using firefox/mozilla, you can force width of preference without modifying template or style sheet.
Place following lines into your ${profile_dir}/chrome/userContent.css file.
/* Limit width Trac's timeline preference */ div#content.timeline form#prefs div { width: 150px; }
This is usefull for browsing public trac site (e.g. edgewall.com).
comment:4 Changed 5 years ago by cboos
- Milestone set to 0.11
Having by default a narrower timeline option box is certainly possible.
comment:5 Changed 5 years ago by cboos
- Resolution set to fixed
- Status changed from new to closed
Implemented in r4681.



(I'm original reporter.)
How about this patch which is I'm using.
It's comfortable for me. only for me?
Index: timeline.cs =================================================================== --- timeline.cs (revision 1882) +++ timeline.cs (working copy) @@ -7,8 +7,8 @@ <form id="prefs" method="get" action="<?cs var:trac.href.timeline ?>"> <div> - <label>View changes from <input type="text" size="10" name="from" value="<?cs - var:timeline.from ?>" /></label> and + <label>View changes from <br/><input type="text" size="10" name="from" value="<?cs + var:timeline.from ?>" /></label> and<br/> <label><input type="text" size="3" name="daysback" value="<?cs var:timeline.daysback ?>" /> days back</label>. </div>