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>
|
</Select>
|
||||||
<Button slot="append" icon="ios-search"></Button>
|
<Button slot="append" icon="ios-search"></Button>
|
||||||
</Input>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
margin: -(@input-padding-vertical-base + 1) (-@input-padding-horizontal);
|
margin: -(@input-padding-vertical-base + 2) (-@input-padding-horizontal);
|
||||||
}
|
}
|
||||||
|
|
||||||
&-prepend,
|
&-prepend,
|
||||||
|
|
Loading…
Add table
Reference in a new issue