Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Duplicate CSS #1535

Closed
benmccann opened this issue Sep 19, 2020 · 1 comment · Fixed by #1536
Closed

Duplicate CSS #1535

benmccann opened this issue Sep 19, 2020 · 1 comment · Fixed by #1536

Comments

@benmccann
Copy link
Member

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

@ghost
Copy link

ghost commented Sep 20, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant