mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
feat(list): RTL support for list-header (#11328)
RTL fix (scss changes) for list-header for wp, ios and android platform
This commit is contained in:
@ -182,6 +182,10 @@ $list-ios-header-background-color: transparent !default;
|
||||
background: $list-ios-header-background-color;
|
||||
}
|
||||
|
||||
[dir="rtl"] .list-header-ios {
|
||||
padding-right: $list-ios-header-padding-left;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
// Generate iOS List Header Colors
|
||||
// --------------------------------------------------
|
||||
|
@ -168,6 +168,11 @@ $list-md-header-color: #757575 !default;
|
||||
color: $list-md-header-color;
|
||||
}
|
||||
|
||||
[dir="rtl"] .list-header-md {
|
||||
padding-right: $list-md-header-padding-left;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
|
||||
// Generate Material Design List Header Colors
|
||||
// --------------------------------------------------
|
||||
|
@ -165,6 +165,11 @@ $list-wp-header-color: $list-wp-text-color !default;
|
||||
color: $list-wp-header-color;
|
||||
}
|
||||
|
||||
[dir="rtl"] .list-header-wp {
|
||||
padding-right: $list-wp-header-padding-left;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
|
||||
// Generate Windows List Header Colors
|
||||
// --------------------------------------------------
|
||||
|
Reference in New Issue
Block a user