mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(card): incorrectly inverting inset divider in rtl (#12285)
Fixes the inset divider on a card in RTL being pushed outside the card.
This commit is contained in:
committed by
mmalerba
parent
34a7e38214
commit
fba4a9369c
@@ -29,6 +29,11 @@ $mat-card-header-size: 40px !default;
|
||||
&.mat-divider-inset {
|
||||
position: static;
|
||||
margin: 0;
|
||||
|
||||
[dir='rtl'] & {
|
||||
// Needs to be reset explicitly since the divider set `margin-right` in particular in RTL.
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user