Skip to content

Commit

Permalink
Merge branch 'main' into mlaw/mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman authored Oct 23, 2024
2 parents 4973ed8 + c34c6b6 commit cde6a91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/zbugs/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ textarea.autoResize {
.sort-control,
.sort-direction {
opacity: 0.6;
transition: all 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}

.sort-control:hover,
Expand Down
11 changes: 6 additions & 5 deletions apps/zbugs/src/pages/list/list-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {useThrottledCallback} from 'use-debounce';
import RelativeTime from '../../components/relative-time.js';
import {useClickOutside} from '../../hooks/use-click-outside.js';
import {useKeypress} from '../../hooks/use-keypress.js';
import {Button} from '../../components/button.js';

let firstRowRendered = false;
const itemSize = 56;
Expand Down Expand Up @@ -286,13 +287,13 @@ export default function ListPage() {
})}
<Filter onSelect={onFilter} />
<div className="sort-control-container">
<button className="sort-control" onClick={toggleSortField}>
<Button className="sort-control" onAction={toggleSortField}>
{sortField === 'modified' ? 'Modified' : 'Created'}
</button>
<button
</Button>
<Button
className={classNames('sort-direction', sortDirection)}
onClick={toggleSortDirection}
></button>
onAction={toggleSortDirection}
></Button>
</div>
</div>

Expand Down

0 comments on commit cde6a91

Please sign in to comment.