fixed Input style bug with append in small size
This commit is contained in:
parent
a7a7901407
commit
31b721aa21
2 changed files with 17 additions and 1 deletions
|
@ -24,6 +24,22 @@
|
|||
</Select>
|
||||
<Button slot="append" icon="ios-search"></Button>
|
||||
</Input>
|
||||
<br>
|
||||
<Input v-model="value13" size="large">
|
||||
<Select v-model="select3" slot="prepend" style="width: 80px">
|
||||
<Option value="day">Day</Option>
|
||||
<Option value="month">Month</Option>
|
||||
</Select>
|
||||
<Button slot="append" icon="ios-search"></Button>
|
||||
</Input>
|
||||
<br>
|
||||
<Input v-model="value13" size="default">
|
||||
<Select v-model="select3" slot="prepend" style="width: 80px">
|
||||
<Option value="day">Day</Option>
|
||||
<Option value="month">Month</Option>
|
||||
</Select>
|
||||
<Button slot="append" icon="ios-search"></Button>
|
||||
</Input>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
margin: -(@input-padding-vertical-base + 1) (-@input-padding-horizontal);
|
||||
margin: -(@input-padding-vertical-base + 2) (-@input-padding-horizontal);
|
||||
}
|
||||
|
||||
&-prepend,
|
||||
|
|
Loading…
Add table
Reference in a new issue