Spaces:
Paused
Paused
Update flare-ui/src/styles.scss
Browse files- flare-ui/src/styles.scss +24 -12
flare-ui/src/styles.scss
CHANGED
|
@@ -122,17 +122,29 @@ body {
|
|
| 122 |
margin-bottom: 3px;
|
| 123 |
}
|
| 124 |
|
| 125 |
-
//
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
| 137 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
}
|
|
|
|
| 122 |
margin-bottom: 3px;
|
| 123 |
}
|
| 124 |
|
| 125 |
+
// Global mat-icon alignment fix
|
| 126 |
+
.mat-mdc-button,
|
| 127 |
+
.mat-mdc-raised-button,
|
| 128 |
+
.mat-mdc-unelevated-button,
|
| 129 |
+
.mat-mdc-outlined-button,
|
| 130 |
+
.mat-mdc-icon-button {
|
| 131 |
+
.mdc-button__label {
|
| 132 |
+
display: inline-flex;
|
| 133 |
+
align-items: center;
|
| 134 |
+
gap: 6px;
|
| 135 |
+
|
| 136 |
+
mat-icon {
|
| 137 |
+
margin: 0;
|
| 138 |
+
line-height: inherit;
|
| 139 |
+
}
|
| 140 |
}
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
// Legacy support
|
| 144 |
+
button[mat-button] mat-icon,
|
| 145 |
+
button[mat-raised-button] mat-icon,
|
| 146 |
+
button[mat-stroked-button] mat-icon,
|
| 147 |
+
button[mat-flat-button] mat-icon {
|
| 148 |
+
vertical-align: middle;
|
| 149 |
+
margin-right: 4px;
|
| 150 |
}
|