Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Jelle van der Waa (jelly) - Wednesday, 24 April 2019, 21:01 GMT
Task Type Bug Report
Category Web Sites
Status Assigned
Assigned To Florian Pritz (bluewind)
Jelle van der Waa (jelly)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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

Loading...