mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: adjust element spacing within examples (#15369)
* Adjusts the amount of spacing between crowded UI elements in the following examples: button-toggle-appearance, datepicker-api, datepicker-color, datepicker-locale, datepicker-value, expansion-steps, focus-monitor-directives, focus-monitor-focus-via, focus-monitor-overview, form-field-label, input-form, paginator-configurable, sidenav-backdrop, snack-bar-overview, snack-bar-position, text-field-autofill-directive, text-field-autofill-monitor, text-field-autosize-textarea
This commit is contained in:
committed by
Joey Perrott
parent
db4490787b
commit
4f64b52fd7
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-button-toggle-group {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -7,3 +7,7 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -17,3 +17,7 @@
|
||||
.example-focus-monitor .cdk-program-focused {
|
||||
background: rgba(255, 0, 255, 0.5);
|
||||
}
|
||||
|
||||
button {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -21,3 +21,8 @@
|
||||
.example-focus-monitor button:focus {
|
||||
box-shadow: 0 0 30px cyan;
|
||||
}
|
||||
|
||||
mat-form-field,
|
||||
button {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -17,3 +17,7 @@
|
||||
.example-focus-monitor .cdk-program-focused {
|
||||
background: rgba(255, 0, 255, 0.5);
|
||||
}
|
||||
|
||||
button {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
}
|
||||
|
||||
.example-container .mat-radio-button {
|
||||
margin: 0 5px;
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
||||
@@ -7,3 +7,7 @@
|
||||
.example-full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
.example-container {
|
||||
width: 400px;
|
||||
height: 200px;
|
||||
margin: 10px;
|
||||
margin: 12px;
|
||||
border: 1px solid #555;
|
||||
}
|
||||
|
||||
mat-drawer-content {
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
+3
-1
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
+3
-1
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
+3
-1
@@ -1 +1,3 @@
|
||||
/** No CSS for this example */
|
||||
mat-form-field {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user