mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(input): fix display of ion-input in narrow ion-item in Firefox (#16978)
* fix(input): fix display of ion-input in narrow ion-item in Firefox * Update index.html test(input): add narrow input test
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
flex: 1;
|
||||
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
|
||||
border: 0;
|
||||
|
||||
@@ -118,6 +118,16 @@
|
||||
<ion-input clear-input value="reallylonglonglonginputtoseetheedgesreallylonglonglonginputtoseetheedges"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item style="max-width: 250px">
|
||||
<ion-input value="Narrow input"></ion-input>
|
||||
<ion-label text-right>Left</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<ion-item style="max-width: 250px">
|
||||
<ion-label>Right</ion-label>
|
||||
<ion-input text-right value="Narrow input"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
</ion-content>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user