FS#61872 - {bugtracker} Move the links back inside title bar

Attached to Project: Arch Linux
Opened by Franklin Yu (FranklinYu) - Wednesday, 27 February 2019, 02:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 June 2023, 02:21 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To Jelle van der Waa (jelly)
Sven-Hendrik Haase (Svenstaro)
Giancarlo Razzolini (grazzolini)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In “task view” page such as https://bugs.archlinux.org/task/24999, the link “Tasklist” link (sometimes 3 links) in title bar extends out of its parent element. Affected element: `#navigation` but I think `#taskdetails` is the one to fix.

https://git.archlinux.org/vhosts/bugs.archlinux.org.git/tree/themes/ArchLinux/theme.css#n592
https://git.archlinux.org/vhosts/bugs.archlinux.org.git/tree/themes/ArchLinux/arch.css#n73

After I disable these two rules, the link looks better. Can provide patch if anyone can confirm.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 04 June 2023, 02:21 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments
Comment by Eli Schwartz (eschwartz) - Wednesday, 27 February 2019, 02:19 GMT
The borders *should* be smaller, though -- I think a better idea would be to set the "right" property different. Instead of using 1.5em, using 2em makes it display correctly, but then again resizing the browser also makes it display properly -- width percents do not really match up to em units.
Comment by Franklin Yu (FranklinYu) - Wednesday, 27 February 2019, 02:25 GMT
@eschwartz If you are talking about https://git.archlinux.org/vhosts/bugs.archlinux.org.git/tree/themes/ArchLinux/theme.css#n1120 then I totally agree with you. I would expect the "right" property of "#navigation" element to be the right way (pun?) to change the margin between the link and the right border of frame.
Comment by Peter Liscovius (peterdd) - Saturday, 02 March 2019, 17:16 GMT
Reason is that span#navigation is position:absolute; but the 'parent' element you want div#taskdetails has no position:relative; So span#navigation is absolute relative to the whole page. It is only currently in the correct height of the task title bar because the top: is not set, so only aligns to right.

So just add

div#taskdetails { position:relative; }

and change the right: of span#navigation to a value you find ok.


For smaller screen sizes add to arch.css:

@media screen and (max-width:600px) {
span#navigation {position:static;display:block;text-align:right;}
}

so that nav does not overlap with task title text.

peterdd
Comment by Toolybird (Toolybird) - Sunday, 04 June 2023, 02:21 GMT
Arch bug tracking will soon be moving to the Arch GitLab instance [1]. Flyspray has served us well, but it's time for a new chapter :)

[1] https://lists.archlinux.org/archives/list/arch-dev-public%40lists.archlinux.org/thread/4MSI7GPL5OQCK55ODSWEECYVOTB7N62M/

Loading...