mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 11:20:12 -04:00
These make space for the folder icon using padding-left when they have ancestors as they are inline so it only effects the line the first link is on. Without ancestors they are block-level so padding-left pads the whole block. We had a block of CSS that fixed this, by using text-indent for those without ancestors but the selector was broken by changes to the HTML (it was no longer the :first-child). This uses the :first-of-type pseudo-class instead to ignore preceding elements of different types. Also includes changes that move styles for links out from under elements with a class of .message-name, which was removed in the previous commit.