demos(*): fix inputs spilling over when screen width small (#6155)

* demos(*): fix inputs spilling over when screen width small

* chore(*): fix line break
This commit is contained in:
Austin
2017-08-01 14:49:27 -05:00
committed by tinayuangao
parent 20cd8a1fb5
commit 51eca3b1d0
11 changed files with 39 additions and 16 deletions
@@ -1,5 +1,7 @@
.example-form {
width: 500px;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,5 +1,7 @@
.example-form {
width: 500px;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,5 +1,7 @@
.example-form {
width: 500px;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,5 +1,7 @@
.example-form {
width: 500px;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,6 +1,7 @@
.example-form {
width: 500px;
max-width: 100%;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,6 +1,7 @@
.example-form {
width: 500px;
max-width: 100%;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1,6 +1,7 @@
.example-form {
width: 500px;
max-width: 100%;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
@@ -1 +1,9 @@
/** No CSS for this example */
.example-form {
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
width: 100%;
}
@@ -1,3 +1,5 @@
<md-input-container>
<input mdInput placeholder="Favorite food" value="Sushi">
</md-input-container>
<form class="example-form">
<md-input-container class="example-full-width">
<input mdInput placeholder="Favorite food" value="Sushi">
</md-input-container>
</form>
@@ -5,6 +5,7 @@ import {Component} from '@angular/core';
*/
@Component({
selector: 'input-overview-example',
styleUrls: ['input-overview-example.css'],
templateUrl: 'input-overview-example.html',
})
export class InputOverviewExample {}
@@ -1,6 +1,7 @@
.example-form {
width: 500px;
max-width: 100%;
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {