Skip to content

Commit

Permalink
[ENG-6567][ENG-6598] Fix dropdown placement for mobile (#2408)
Browse files Browse the repository at this point in the history
* Fix dropdown placement for mobile

* a11y fix for items per page dropdown
  • Loading branch information
futa-ikeda authored Nov 20, 2024
1 parent 30b2b8e commit 684c877
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@

&.mobile {
max-width: none;
right: 100%;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<span local-class='paginator__control'>
<div local-class='paginator__select-wrapper'>
<select title={{t 'paginator.itemsPerPage'}} local-class='paginator__select' onchange={{action this.onPageSizeChange value='target.value'}}>
{{#each this.pageSizeOptions as |page_size_option|}}
<option value={{page_size_option}} selected={{eq page_size_option this.selectedPageSize}}>
{{t 'paginator.itemsPerPage'}} {{page_size_option}}
</option>
{{/each}}
</select>
<label>
{{t 'paginator.itemsPerPage'}}
<select local-class='paginator__select' onchange={{action this.onPageSizeChange value='target.value'}}>
{{#each this.pageSizeOptions as |page_size_option|}}
<option value={{page_size_option}} selected={{eq page_size_option this.selectedPageSize}}>
{{page_size_option}}
</option>
{{/each}}
</select>
</label>
</div>
</span>

Expand Down

0 comments on commit 684c877

Please sign in to comment.