Skip to content

Commit

Permalink
Feature/srl 704 rtl support for component (#886)
Browse files Browse the repository at this point in the history
* Added rtl support for component.

* Add logic to share border color for rtl.

---------

Co-authored-by: Aditya R Joshi <aditya.joshi-t@jud.ca.gov>
  • Loading branch information
adityajoshi94 and Aditya R Joshi committed May 16, 2024
1 parent f7ae74c commit a37d7c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/_patterns/03-organisms/sections/steps/_steps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

.jcc-read-more__content {
@include dark-background();
@include u-border-left("white");
@include u-border-right("white");
}
}

Expand Down Expand Up @@ -103,3 +103,11 @@ html[dir="rtl"] .jcc-steps-section {
right: 0;
}
}

html[dir="rtl"] .jcc-read-more__content {
border-right-style: solid;
border-right-width: 0.25rem;
border-left-style: none;
@include u-border-left("white");
@include u-border-right("secondary");
}

0 comments on commit a37d7c5

Please sign in to comment.