feat: dice roller improved
This commit is contained in:
@@ -37,9 +37,9 @@ export const CommanderInput: Component<CommanderInputProps> = (props) => {
|
||||
执行
|
||||
</button>
|
||||
|
||||
{/* 自动补全下拉框 */}
|
||||
{/* 自动补全下拉框 - 向上弹出 */}
|
||||
<Show when={props.showCompletions() && props.completions().length > 0}>
|
||||
<div class="absolute left-0 top-10 z-10 w-full bg-white border border-gray-300 shadow-lg max-h-48 overflow-auto mt-1">
|
||||
<div class="absolute left-0 bottom-full w-full bg-white border border-gray-300 shadow-lg max-h-48 overflow-auto mb-1">
|
||||
<For each={props.completions()}>{(comp, idx) => (
|
||||
<div
|
||||
class={`px-3 py-2 cursor-pointer flex justify-between items-center ${
|
||||
|
||||
Reference in New Issue
Block a user