mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(examples): minor fixes (#10739)
This commit is contained in:
committed by
tinayuangao
parent
4211b39669
commit
0a501586a5
@@ -20,7 +20,7 @@
|
||||
/>
|
||||
</mat-chip-list>
|
||||
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="selected($event)">
|
||||
<mat-option *ngFor="let fruit of filteredFruits | async" [value]="option">
|
||||
<mat-option *ngFor="let fruit of filteredFruits | async" [value]="fruit">
|
||||
{{ fruit }}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
|
||||
@@ -7,7 +7,8 @@ import {Component} from '@angular/core';
|
||||
styleUrls: ['sidenav-open-close-example.css'],
|
||||
})
|
||||
export class SidenavOpenCloseExample {
|
||||
events = [];
|
||||
events: string[] = [];
|
||||
opened: boolean;
|
||||
|
||||
shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
|
||||
}
|
||||
|
||||
@@ -3,9 +3,5 @@
|
||||
flex-direction: column;
|
||||
max-height: 500px;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 300px;
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.example-header {
|
||||
@@ -14,8 +16,3 @@
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
.example-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 500px;
|
||||
min-width: 300px;
|
||||
position: relative;
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.example-header {
|
||||
@@ -15,11 +16,6 @@
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.example-table {
|
||||
overflow: auto;
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.example-loading-shade {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 300px;
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.example-header {
|
||||
@@ -14,7 +16,3 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 300px;
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
@@ -3,11 +3,7 @@
|
||||
flex-direction: column;
|
||||
max-height: 500px;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.mat-column-select {
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.mat-table {
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user