Skip to content

Commit

Permalink
Merge pull request #8325 from infor-design/8208-cap-rtl
Browse files Browse the repository at this point in the history
8208 - Fixed alignments of searchfield icons in RTL
  • Loading branch information
ericangeles committed Jan 11, 2024
2 parents 6bbc445 + f2a635e commit cb9deae
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

## v4.92.0 Fixes

- `[Contextual Action Panel]` Fixed alignments of searchfield icons in RTL. ([#8208](https://github.com/infor-design/enterprise/issues/8208))
- `[Locale]` Changed all `zh` locales time format as suggested by native speakers. ([#8313](https://github.com/infor-design/enterprise/issues/8313))
- `[Modal]` Fixed a bug where the modal would shift up when toggling a switch inside of it. ([#8018](https://github.com/infor-design/enterprise/issues/8018))
- `[Process Indicator]` Adjusted alignment of icon in compact process indicator. ([#8241](https://github.com/infor-design/enterprise/issues/8241))
Expand Down
2 changes: 1 addition & 1 deletion src/components/toolbar/_toolbar-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@
height: auto;
}
}
}
}
20 changes: 20 additions & 0 deletions src/components/toolbar/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,26 @@ html[dir='rtl'] {
}
}
}

&:not(.standalone) .searchfield-wrapper.toolbar-searchfield-wrapper:not(.has-categories):not(.is-open) {
input {
padding-left: 31px;
}

.icon:not(.icon-dropdown) {
right: 9px;
}

&.has-text {
input {
padding-left: 19px;
}

.icon:not(.icon-dropdown) {
right: 71px;
}
}
}
}
}

Expand Down

0 comments on commit cb9deae

Please sign in to comment.