Skip to content

Commit 0cd5126

Browse files
authored
fix: Absolute URLs for svgs (#1828)
Fix urls to fix theme builds
1 parent e7ef175 commit 0cd5126

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apify-docs-theme/src/theme/LLMButtons/styles.module.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
}
3636

3737
.llmButtonIconBackgroundMarkdown {
38-
background-image: url('/img/markdown.svg');
38+
background-image: url('https://docs.apify.com/img/markdown.svg');
3939

4040
}
4141

4242
.llmButtonIconBackgroundCopy {
43-
background-image: url('/img/copy.svg');
43+
background-image: url('https://docs.apify.com/img/copy.svg');
4444
}
4545

4646
/* Dark theme adjustments */
@@ -49,9 +49,9 @@
4949
}
5050

5151
[data-theme='dark'] .llmButtonIconBackgroundMarkdown {
52-
background-image: url('/img/markdown-dark-theme.svg');
52+
background-image: url('https://docs.apify.com/img/markdown-dark-theme.svg');
5353
}
5454

5555
[data-theme='dark'] .llmButtonIconBackgroundCopy {
56-
background-image: url('/img/copy-dark-theme.svg');
57-
}
56+
background-image: url('https://docs.apify.com/img/copy-dark-theme.svg');
57+
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)