mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
055e3a755d
commit
407a7ee352
2 changed files with 15 additions and 3 deletions
|
|
@ -154,10 +154,11 @@
|
||||||
width: 300px;
|
width: 300px;
|
||||||
max-height: 70vh;
|
max-height: 70vh;
|
||||||
|
|
||||||
.b3-chip {
|
&__item .b3-chip {
|
||||||
max-width: 196px;
|
max-width: 196px;
|
||||||
margin: 1px 0;
|
margin: 1px 0;
|
||||||
padding: 6px 12px 6px 14px;
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|
@ -166,6 +167,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.b3-chips {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
input {
|
||||||
|
outline: none;
|
||||||
|
border: 0;
|
||||||
|
background-color: var(--b3-menu-background);
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.block__icon {
|
.block__icon {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,7 @@ export const getSelectHTML = (data: IAV, options: { cellElement: HTMLElement })
|
||||||
});
|
});
|
||||||
return `<div class="b3-chips">
|
return `<div class="b3-chips">
|
||||||
${selectedHTML}
|
${selectedHTML}
|
||||||
<input class="b3-text-field fn__block">
|
<input>
|
||||||
</div>
|
</div>
|
||||||
<div>${filterSelectHTML("", colData.options)}</div>`;
|
<div>${filterSelectHTML("", colData.options)}</div>`;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue