1
0
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:
Kushagra Gour
2024-02-29 18:07:31 +05:30
parent c2564153e0
commit f399d13221
4 changed files with 4 additions and 4 deletions

View File

@ -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 =

View File

@ -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 =

View File

@ -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}

View File

@ -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">