Skip to content

Commit

Permalink
Merge pull request #2038 from cfpb/ans_rtl_tags
Browse files Browse the repository at this point in the history
Add tag RTL code
  • Loading branch information
anselmbradford authored Sep 5, 2024
2 parents def4f44 + 6239902 commit e7e7dd2
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 19 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/utilities/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.js.map

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions packages/cfpb-design-system/src/components/cfpb-forms/tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ a.a-tag-filter {
}
}

html[lang='ar'] .m-tag-group {
// This is needed for right-to-left (RTL) lists.
padding-right: 0;
// Right-to-left (RTL) adjustments for arabic pages.
html[lang='ar'] {
.m-tag-group {
direction: rtl;
// This is needed for right-to-left (RTL) lists.
padding-right: 0;
}
}

0 comments on commit e7e7dd2

Please sign in to comment.