Closed anthonydillon closed 3 years ago
Weirdly enough this seems to be only applying some color to ::before
that is not rendered at all.
Tried to find anything in git history, but it seems it was never really doing anything because this ::before
never had any styles that would show it...
I suppose the intention might have been to add separators between the items on small screens (as there are no separators between subnav items now):
But subnav styles were reviewed recently (when updating styling highlight), so I suppose they are as we want them. Can you confirm @lyubomir-popov ?
If so, I guess we can just remove this erroring media query alltogether.
I don't think we need separators (we'd need to match the parent item height if we did). I'd just remove it.
Thanks for looking into it @bartaz. Question is can we have this released and updated by the end of the week, which is the MAAS release?
@anthonydillon Shouldn't be an issue - but does it affect MAAS in any way? This doesn't seem to cause any problems (because it's never applied), so it seems to be just a code cleanup rather than a bugfix.
They just don't like the error in the console.
In _patterns_subnav.scss we are using hex colours in media queries. This is way before its time and unlikely to be supported by browsers for many years.
Could we revert to using units of measurement that are comprehendible by computers in this century, please?