youseedk / dna

CSS framework for yousee.dk
ISC License
6 stars 6 forks source link

fix styling for autosuggestions in chromium browsers #261

Closed Nickhoyer closed 3 years ago

Nickhoyer commented 3 years ago

image

After selecting an option from the chrome autosuggestion dropdown, the styling gets a bit wack. This PR fixes that. Since it is a chromium-specific error, I have also applied a chromium-specific fix.

Nickhoyer commented 3 years ago

What about the background: transparent? :)

It wouldn't work - The old way to fix this was apparently creating an instant animation...

https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete

I'm very happy this fix is now possible in 2020, since it looks a lot cleaner.

grandorf commented 3 years ago

Please change your target branch to develop

havgry commented 3 years ago

Nice 👍