Skip to content

Commit

Permalink
fix: job dialog misaligned when in flex
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Mar 15, 2024
1 parent 21121c3 commit 4a80ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dm-core-plugins/src/job/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const JobLog = (props: {
}) => {
const [showLogs, setShowLogs] = useState(false)
return (
<>
<div className='block'>
<Button onClick={() => setShowLogs(!showLogs)} variant='ghost'>
{showLogs ? 'Hide' : 'Show'} logs
<Icon data={expand_screen} size={16} />
Expand All @@ -110,7 +110,7 @@ export const JobLog = (props: {
error={props.error}
result={null}
/>
</>
</div>
)
}
export const JobButtonWrapper = styled.div`
Expand Down

0 comments on commit 4a80ed1

Please sign in to comment.