Skip to content

Commit

Permalink
change search input alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
DantSu committed May 3, 2024
1 parent 120fdc5 commit 13c7af6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/App/Components/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ function Table({
<div className={styles.header}>
<h2 className={styles.headerTitleLeft}>{titleLeft}</h2>
{titleRight && <p className={styles.headerTitleRight}>{titleRight}</p>}
<input type="text"
placeholder={getLocale('search') + '...'}
ref={searchInput}
className={styles.headerSearchInput}
onKeyUp={onSearch}/>
{
(onSelectAll || onDeleteSelected || onDownloadSelected || onEditSelected || onOptimizeAudioSelected) &&
<ul className={styles.headerIcons}>
Expand Down Expand Up @@ -128,6 +123,12 @@ function Table({
</ul>
}

<input type="text"
placeholder={getLocale('search') + '...'}
ref={searchInput}
className={styles.headerSearchInput}
onKeyUp={onSearch}/>

</div>
<div className={styles.content}>
<div className={styles.contentScroller}>
Expand Down
1 change: 1 addition & 0 deletions src/App/Components/Table/Table.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

.headerIcons {
display: flex;
padding-right: 10px;
}

.headerIcon {
Expand Down

0 comments on commit 13c7af6

Please sign in to comment.