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