Skip to content

Commit

Permalink
Reduce hit target of More Memory loader (#143)
Browse files Browse the repository at this point in the history
Ensures that user must hover text
to avoid accidental interactions
  • Loading branch information
colin-grant-work authored Jul 9, 2024
1 parent fa67c60 commit d9c6296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webview/components/memory-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export class MemoryTable extends React.PureComponent<MemoryTableProps, MemoryTab

if (this.props.memory !== undefined) {
const prependScrollingBehaviors: ScrollingBehavior[] = ['Grow', 'Auto-Append'];
memorySelect = <div className='flex-auto'>
memorySelect = <div className='flex flex-auto justify-content-center'>
<MoreMemorySelect
activeReadArguments={this.props.activeReadArguments}
options={[128, 256, 512]}
Expand Down Expand Up @@ -499,7 +499,7 @@ export class MemoryTable extends React.PureComponent<MemoryTableProps, MemoryTab
let memorySelect: React.ReactNode | undefined;

if (this.props.memory !== undefined) {
memorySelect = <div className='flex-auto'>
memorySelect = <div className='flex flex-auto justify-content-center'>
<MoreMemorySelect
activeReadArguments={this.props.activeReadArguments}
options={[128, 256, 512]}
Expand Down

0 comments on commit d9c6296

Please sign in to comment.