mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-09 16:06:21 +02:00
fix paths
This commit is contained in:
@ -341,7 +341,7 @@ export default class ContentWrap extends Component {
|
|||||||
|
|
||||||
// Replace correct css file in LINK tags's href
|
// Replace correct css file in LINK tags's href
|
||||||
if (prefs.editorTheme) {
|
if (prefs.editorTheme) {
|
||||||
window.editorThemeLinkTag.href = `/lib/codemirror/theme/${prefs.editorTheme}.css`;
|
window.editorThemeLinkTag.href = `./lib/codemirror/theme/${prefs.editorTheme}.css`;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.fontStyleTag.textContent =
|
window.fontStyleTag.textContent =
|
||||||
|
@ -355,7 +355,7 @@ export default class ContentWrapFiles extends Component {
|
|||||||
|
|
||||||
// Replace correct css file in LINK tags's href
|
// Replace correct css file in LINK tags's href
|
||||||
if (prefs.editorTheme) {
|
if (prefs.editorTheme) {
|
||||||
window.editorThemeLinkTag.href = `lib/codemirror/theme/${prefs.editorTheme}.css`;
|
window.editorThemeLinkTag.href = `./lib/codemirror/theme/${prefs.editorTheme}.css`;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.fontStyleTag.textContent =
|
window.fontStyleTag.textContent =
|
||||||
|
@ -238,7 +238,7 @@ export default function SavedItemPane({
|
|||||||
</h2>
|
</h2>
|
||||||
<img
|
<img
|
||||||
style="max-width: 80%; opacity:0.4"
|
style="max-width: 80%; opacity:0.4"
|
||||||
src="/assets/empty.svg"
|
src="./assets/empty.svg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
id="editorThemeLinkTag"
|
id="editorThemeLinkTag"
|
||||||
href="/lib/codemirror/theme/monokai.css"
|
href="./lib/codemirror/theme/monokai.css"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<style id="fontStyleTemplate" type="template">
|
<style id="fontStyleTemplate" type="template">
|
||||||
|
Reference in New Issue
Block a user