diff --git a/main.ts b/main.ts index f409fc7..efff215 100644 --- a/main.ts +++ b/main.ts @@ -40,7 +40,7 @@ export class LaTeXToUnicodeModal extends Modal { contentEl.createEl("h1", { text: "LaTeX to Unicode" }); const elContainer = contentEl.createEl('table'); - elContainer.className = 'inputTable'; + elContainer.className = 'latexInputTable'; const first = elContainer.createEl('tr'); first.createEl('td', {text: 'LaTeX command'}); const elInput = first.createEl('td').createEl('input', {type: 'text'}); diff --git a/styles.css b/styles.css index 95a9eb5..2072b96 100644 --- a/styles.css +++ b/styles.css @@ -1,11 +1,11 @@ -table, #userInput, #resDisp { +table.latexInputTable, #userInput, #resDisp { width: 100%; } -.inputTable td:first-child { +.latexInputTable td:first-child { width: 30%; } -.inputTable td:last-child { +.latexInputTable td:last-child { width: 70%; }