mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user