This commit is contained in:
parent
7bbccbae3b
commit
05495e7064
2 changed files with 7 additions and 2 deletions
|
@ -27,10 +27,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
.block__icons {
|
||||
min-height: auto;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.b3-text-field--text {
|
||||
cursor: pointer;
|
||||
transition: var(--b3-transition);
|
||||
height: 34px;
|
||||
min-height: 34px;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -9,7 +9,7 @@ export const genAVValueHTML = (value: IAVCellValue) => {
|
|||
let html = "";
|
||||
switch (value.type) {
|
||||
case "text":
|
||||
html = `<input value="${value.text.content}" class="b3-text-field b3-text-field--text fn__flex-1">`;
|
||||
html = `<textarea rows="${value.text.content.split('\n').length}" class="b3-text-field b3-text-field--text fn__flex-1">${value.text.content}</textarea>`;
|
||||
break;
|
||||
case "number":
|
||||
html = `<input value="${value.number.content}" type="number" class="b3-text-field b3-text-field--text fn__flex-1">`;
|
||||
|
|
Loading…
Add table
Reference in a new issue