fix(list): override native button text align in action list (#15404)

This happens to work when the content is just text; however, content gets center
aligned when there are matLine elements nested in a <button mat-list-item>.
This commit is contained in:
Mitchell Wills
2019-03-08 08:53:44 -08:00
committed by Joey Perrott
parent a7f1981811
commit ddeeb18b0b
+5
View File
@@ -279,6 +279,11 @@ mat-action-list {
outline: inherit;
-webkit-tap-highlight-color: transparent;
text-align: left;
[dir='rtl'] & {
text-align: right;
}
&::-moz-focus-inner {
border: 0;
}