Skip to content

Commit 40ee361

Browse files
authored
[CLNP-5095] fix: ignore RTL handling - checkbox style (#1217)
Fixes https://sendbird.atlassian.net/browse/CLNP-5095 #### Before <img width="550" alt="Screenshot 2024-09-11 at 3 56 05 PM" src="https://github.com/user-attachments/assets/25b8ca57-028b-4a66-8916-05f6e18ae374"> #### After - LTR <img width="550" alt="Screenshot 2024-09-11 at 3 56 13 PM" src="https://github.com/user-attachments/assets/548139eb-d82c-48b6-a6c5-614d4b490715"> - RTL <img width="537" alt="Screenshot 2024-09-11 at 3 58 32 PM" src="https://github.com/user-attachments/assets/5928b3f4-7b4c-4aa0-84fa-c9827474b142">
1 parent 148b6dc commit 40ee361

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ui/Checkbox/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
display: block;
6767
}
6868

69+
// Rotating is not necessary in RTL so ignore it
70+
/*rtl:begin:ignore*/
6971
.sendbird-checkbox .sendbird-checkbox--checkmark:after {
7072
@include themed() {
7173
left: 5px;
@@ -77,3 +79,4 @@
7779
transform: rotate(45deg);
7880
}
7981
}
82+
/**rtl:end:ignore**/

0 commit comments

Comments
 (0)