Skip to content

Commit

Permalink
feat(list): RTL support for list-header (#11328)
Browse files Browse the repository at this point in the history
RTL fix (scss changes) for list-header for wp, ios and android platform
  • Loading branch information
sijav authored and brandyscarney committed Apr 24, 2017
1 parent 0ec71cd commit e31a4da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/list/list.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
// --------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions src/components/list/list.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
// --------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions src/components/list/list.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
// --------------------------------------------------
Expand Down

0 comments on commit e31a4da

Please sign in to comment.