add fix from shared code, fix nth-child (stupid angular) (DEV-14592)

I removed the TranslateZ's because they were causing weird display issues with the overlays.