Skip to content

Commit

Permalink
fix(checkbox): align text on the left in RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev authored and joneff committed May 14, 2018
1 parent 48bc8aa commit b7b6fcf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/default/scss/input/_layout.scss
Expand Up @@ -236,6 +236,12 @@ $checkbox-size: $icon-size !default;
height: $icon-size;
display: inline-block;
}

.k-rtl &,
[dir='rtl'] & {
padding-left: 0;
padding-right: add-two($checkbox-size, $icon-spacing);
}
}

.k-checkbox-label::before,
Expand All @@ -253,6 +259,12 @@ $checkbox-size: $icon-size !default;
position: absolute;
top: 0;
left: 0;

.k-rtl &,
[dir='rtl'] & {
left: auto;
right: 0;
}
}

// Container box
Expand Down

0 comments on commit b7b6fcf

Please sign in to comment.