Skip to content

Commit

Permalink
Add RTL direction support (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBartusek authored Jun 26, 2023
1 parent d4908d3 commit 4e5f7f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/GifPickerReact.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/* Search */
--gpr-search-input-bg-color-active: var(--gpr-search-input-bg-color);
--gpr-search-input-padding: 0 30px;
--gpr-search-input-padding: 0 32px;
--gpr-search-input-border-radius: 8px;
--gpr-search-input-height: 40px;
--gpr-search-input-text-color: var(--gpr-text-color);
Expand Down
1 change: 1 addition & 0 deletions src/components/header/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function Search(): JSX.Element {
className="gpr-search"
data-testid="gpr-search-input"
type="text"
dir="auto"
maxLength={500}
value={pickerContext.searchTerm}
onChange={onChange}
Expand Down

0 comments on commit 4e5f7f7

Please sign in to comment.