Closed (fixed)
Project:
Project
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 May 2006 at 16:57 UTC
Updated:
7 Jun 2006 at 19:00 UTC
Jump to comment: Most recent file
on the issue query page (/project/issues), the list of links at the top (submit, statistics, etc) takes up a lot of space. i'd like to make that list horizontal, and i'm pretty sure there's reasonable CSS hackery to do it. i'll give it a shot and see if i can roll a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | project_issue_horizontal_links.patch.2 | 701 bytes | dww |
| #6 | project_issue_horizontal_links.patch.1 | 557 bytes | dww |
| #4 | project_issue_vertical_links.png | 118.96 KB | dww |
| #3 | project_issue_horizontal_links.png | 101.07 KB | dww |
| #2 | project_issue_horizontal_links.patch | 1.22 KB | dww |
Comments
Comment #1
nedjoGood idea. This is what's done with li items in e.g. the PHPTemplate primary link buttons.
Comment #2
dwwhere's a simple patch. i ended up going with the
<br class="clear" />trick to clear the floating elements, since this isn't inside a fieldset, and i'm not enough of a CSS heavyweight to get this right. ;) any suggestions for visual improvement are welcome. i'll attach a screenshot next with the results of this patch (along with my patch from http://drupal.org/node/64648).Comment #3
dwwscreenshot, as promised.
Comment #4
dwwfor comparison, here's the "before" view, with all the links vertical.
Comment #5
nedjoNice!
I think we should be able to get away without the
(and in general we want to be avoiding adding HTML outside theme calls). Maybe try using display: inline in the css li setting. For examples of how we do this elsewhere, look at the /* Tab navigation */ section in drupal.js.
Comment #6
dwwindeed "display: inline;" did the trick. new patch attached.
Comment #7
dwwheh, merlinofchaos suggested an even easier fix (1 word different):
new patch. this even includes fancy separators between the links for us. ;)
Comment #8
nedjoYep, that's the way to do it.
You could I suppose wait a day or two before applying just in case anyone is attached to the old look.
Comment #9
dwwhearing no objections, applied to HEAD and 4.7. backported to 4.6.
Comment #10
(not verified) commented