@@ -5,7 +5,7 @@ import { useVirtualizer } from '@tanstack/react-virtual';
5
5
import cx from 'classnames' ;
6
6
import { throttle } from 'lodash' ;
7
7
8
- import Button from '@/components/Input/Button ' ;
8
+ import IconButton from '@/components/Input/IconButton ' ;
9
9
import Input from '@/components/Input/Input' ;
10
10
import { useLogsQuery } from '@/core/react-query/logs/queries' ;
11
11
@@ -55,7 +55,7 @@ const LogsPage = () => {
55
55
< div className = "flex grow flex-col gap-y-6" >
56
56
< div className = "flex items-center justify-between rounded-lg border border-panel-border bg-panel-background p-6" >
57
57
< div className = "text-xl font-semibold" > Logs</ div >
58
- < div className = "flex items-center gap-x-2" >
58
+ < div className = "flex gap-x-2" >
59
59
< Input
60
60
id = "search"
61
61
onChange = { event => setSearch ( event . target . value ) }
@@ -67,21 +67,16 @@ const LogsPage = () => {
67
67
disabled
68
68
/>
69
69
{ /* TODO: Disabled until functionality is implemented */ }
70
- { /* <Button buttonType="secondary" buttonSize="normal" tooltip="Filter"> */ }
71
- { /* <Icon path={mdiFilterOutline} size={1} /> */ }
72
- { /* </Button> */ }
73
- { /* <Button buttonType="secondary" buttonSize="normal" tooltip="Settings"> */ }
74
- { /* <Icon path={mdiCogOutline} size={1} /> */ }
75
- { /* </Button> */ }
76
- < Button
70
+ { /* <IconButton icon={mdiFilterOutline} buttonType="secondary" buttonSize="normal" tooltip="Filter"/> */ }
71
+ { /* <IconButton icon={mdiCogOutline} buttonType="secondary" buttonSize="normal" tooltip="Settings"/> */ }
72
+ < IconButton
73
+ icon = { mdiArrowVerticalLock }
77
74
buttonType = "secondary"
78
75
buttonSize = "normal"
79
76
className = { cx ( scrollToBottom ? 'text-panel-text-primary' : '!text-panel-text' ) }
80
77
onClick = { ( ) => setScrollToBottom ( prev => ! prev ) }
81
78
tooltip = { `${ scrollToBottom ? 'Disable' : 'Enable' } scroll to bottom` }
82
- >
83
- < Icon path = { mdiArrowVerticalLock } size = { 1 } />
84
- </ Button >
79
+ />
85
80
</ div >
86
81
</ div >
87
82
0 commit comments