Skip to content

Commit

Permalink
fix(split-pane): show border in RTL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramez Atassi committed Apr 8, 2020
1 parent 6f13b8c commit d03dccb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/src/components/split-pane/split-pane.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
}

:host(.split-pane-visible) ::slotted(.split-pane-side) {
@include rtl() {
border-right: 0;
border-left: var(--border);
}

min-width: var(--side-min-width);
max-width: var(--side-max-width);

Expand All @@ -19,6 +24,11 @@
}

:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]) {
@include rtl() {
border-right: var(--border);
border-left: 0;
}

min-width: var(--side-min-width);
max-width: var(--side-max-width);

Expand Down
10 changes: 10 additions & 0 deletions core/src/components/split-pane/split-pane.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
}

:host(.split-pane-visible) ::slotted(.split-pane-side) {
@include rtl() {
border-right: 0;
border-left: var(--border);
}

min-width: var(--side-min-width);
max-width: var(--side-max-width);

Expand All @@ -19,6 +24,11 @@
}

:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]) {
@include rtl() {
border-right: var(--border);
border-left: 0;
}

min-width: var(--side-min-width);
max-width: var(--side-max-width);

Expand Down

0 comments on commit d03dccb

Please sign in to comment.