sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
7.02k stars 437 forks source link

Internal CSS of the component should have the greater preference. #1801

Closed RaiVaibhav closed 2 years ago

RaiVaibhav commented 2 years ago

Describe the bug

Visit https://svelte.dev/ first then route to the tutorial by clicking on the nav item, it will route to https://svelte.dev/tutorial/basics you can see that arrow right and left under the table of content have a padding same as mentioned in the internal CSS for that component now clear the cache and directly browse the https://svelte.dev/tutorial/basics and check the styling of the left and right arrow and now component losses it's internal CSS preference.

In any case, the internal CSS of the component should have the greater preference.

RaiVaibhav commented 2 years ago

Duplicate, w.r.t https://github.com/sveltejs/svelte/issues/6624