Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate CSS #1535

Closed
benmccann opened this issue Sep 19, 2020 · 1 comment
Closed

Duplicate CSS #1535

benmccann opened this issue Sep 19, 2020 · 1 comment
Labels

Comments

@benmccann
Copy link
Contributor

@benmccann benmccann commented Sep 19, 2020

Reported by @TheComputerM

https://svelte-materialify.vercel.app/getting-started/installation/ has:

<link href="client/client-d9450e49.css" rel="stylesheet">
<link rel="stylesheet" href="https://svelte-materialify.vercel.app/client/client-d9450e49.css">

I'm guessing we need to change this line:

var link = document.querySelector('link[rel=stylesheet][href="' + href + '"]');

We will need to check relative URL + base as well as absolute URL

Site to test against: https://github.com/TheComputerM/svelte-materialify/tree/master/packages/docs

@GitGangGuy
Copy link

@GitGangGuy GitGangGuy commented Sep 20, 2020

Haha, just noticed this as well. Thank you for taking care of it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.