small css change

This commit is contained in:
Fujun Du 2023-03-04 14:59:15 +08:00
parent fcad7130f3
commit 572a5d6e9c
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ export class LaTeXToUnicodeModal extends Modal {
contentEl.createEl("h1", { text: "LaTeX to Unicode" }); contentEl.createEl("h1", { text: "LaTeX to Unicode" });
const elContainer = contentEl.createEl('table'); const elContainer = contentEl.createEl('table');
elContainer.className = 'inputTable'; elContainer.className = 'latexInputTable';
const first = elContainer.createEl('tr'); const first = elContainer.createEl('tr');
first.createEl('td', {text: 'LaTeX command'}); first.createEl('td', {text: 'LaTeX command'});
const elInput = first.createEl('td').createEl('input', {type: 'text'}); const elInput = first.createEl('td').createEl('input', {type: 'text'});

View file

@ -1,11 +1,11 @@
table, #userInput, #resDisp { table.latexInputTable, #userInput, #resDisp {
width: 100%; width: 100%;
} }
.inputTable td:first-child { .latexInputTable td:first-child {
width: 30%; width: 30%;
} }
.inputTable td:last-child { .latexInputTable td:last-child {
width: 70%; width: 70%;
} }