Fix HTML editor's line bar colour

This commit is contained in:
Kailash Nadh 2020-07-06 00:50:43 +05:30
parent dc4020679f
commit b45d49f5e0
1 changed files with 4 additions and 1 deletions

View File

@ -162,7 +162,10 @@ export default {
const el = document.createElement('code-flask'); const el = document.createElement('code-flask');
el.attachShadow({ mode: 'open' }); el.attachShadow({ mode: 'open' });
el.shadowRoot.innerHTML = ` el.shadowRoot.innerHTML = `
<style>.codeflask .codeflask__flatten { font-size: 15px; }</style> <style>
.codeflask .codeflask__flatten { font-size: 15px; }
.codeflask .codeflask__lines { background: #fafafa; }
</style>
<div id="area"></area> <div id="area"></area>
`; `;
this.$refs.htmlEditor.appendChild(el); this.$refs.htmlEditor.appendChild(el);