mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
fix width
This commit is contained in:
parent
72bb1e8828
commit
f0ea3ad0a6
2 changed files with 2 additions and 4 deletions
|
@ -62,6 +62,7 @@
|
|||
:type="input.type || 'text'"
|
||||
:placeholder="input.placeholder || undefined"
|
||||
@keydown="onInputKeydown"
|
||||
:style="{ width: input.type === 'search' ? '300px' : null }"
|
||||
>
|
||||
<template v-if="input.type === 'password'" #prefix
|
||||
><i class="ph-password ph-bold ph-lg"></i
|
||||
|
@ -439,10 +440,6 @@ onBeforeUnmount(() => {
|
|||
margin: 16px 0 0 0;
|
||||
}
|
||||
|
||||
:deep(input[type="search"]) {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
@blur="focused = false"
|
||||
@keydown="onKeydown($event)"
|
||||
@input="onInput"
|
||||
v-bind="$attrs"
|
||||
/>
|
||||
<datalist v-if="datalist" :id="id">
|
||||
<option v-for="data in datalist" :value="data" />
|
||||
|
|
Loading…
Reference in a new issue