mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Joey Perrott
parent
a7f1981811
commit
ddeeb18b0b
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user