sopel-irc / sopel.chat

Website for Sopel
https://sopel.chat
Other
0 stars 11 forks source link

Constrain prev/next link widths to avoid overlap #14

Closed dgw closed 5 years ago

dgw commented 5 years ago

Noticed some ugly overlapping on mobile in portrait mode, because of the "Up a level" links being absolutely positioned for reasons.

Wanted to get rid of the absolute positioning with some fancy CSS selectors, but apparently such a thing (selecting an element with a certain number of children) doesn't exist. This will do instead.