mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
01 change sort menu style (#6923)
This commit is contained in:
@@ -46,11 +46,9 @@ class ReposSortMenu extends React.Component {
|
|||||||
<DropdownMenu right={true} className="mt-1">
|
<DropdownMenu right={true} className="mt-1">
|
||||||
{sortOptions.map((item, index) => {
|
{sortOptions.map((item, index) => {
|
||||||
return (
|
return (
|
||||||
<DropdownItem key={index} onClick={this.props.onSelectSortOption.bind(this, item)}>
|
<DropdownItem key={index} onClick={this.props.onSelectSortOption.bind(this, item)} className="pl-5 position-relative">
|
||||||
<div className="d-flex justify-content-between align-items-center">
|
{item.isSelected && <i className="dropdown-item-tick sf2-icon-tick"></i>}
|
||||||
<span className="mr-8">{item.text}</span>
|
{item.text}
|
||||||
<span>{item.isSelected && <i className="sf2-icon-tick"></i>}</span>
|
|
||||||
</div>
|
|
||||||
</DropdownItem>
|
</DropdownItem>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
Reference in New Issue
Block a user