Skip to content

Commit

Permalink
Tidy up code and change font sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbmhunter committed Jun 15, 2024
1 parent 7c19ab1 commit 8f8e4ef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/view/Terminals/RightDrawer/RightDrawerView.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { observer } from 'mobx-react-lite';
import { ResizableBox, Resizable } from 'react-resizable';
import { Resizable } from 'react-resizable';
import 'react-resizable/css/styles.css';
import {
Accordion,
Expand Down Expand Up @@ -72,9 +72,8 @@ export default observer((props: Props) => {
return (
<Resizable // This what provides the resizing functionality for the right drawer
className="box"
width={rightDrawer.drawerWidth_px} // Default width, this can be changed by the user resizing
width={rightDrawer.drawerWidth_px}
onResize={(e, {node, size, handle}) => {
console.log('onResize() called. size: ', size);
rightDrawer.setDrawerWidth(size.width);
}}
resizeHandles={['w']}
Expand Down Expand Up @@ -124,7 +123,7 @@ export default observer((props: Props) => {
Quick Port Settings
</AccordionSummary>
<AccordionDetails>
<div>
<div style={{ fontSize: '12px' }}>
For more port settings, go to the{' '}
<Link
component="button"
Expand Down Expand Up @@ -336,7 +335,7 @@ export default observer((props: Props) => {
>
<AccordionSummary expandIcon={<ArrowDownwardIcon />}>Other Quick Settings</AccordionSummary>
<AccordionDetails>
<div>
<div style={{ fontSize: '12px' }}>
For more options, go to the{' '}
<Link
component="button"
Expand Down

0 comments on commit 8f8e4ef

Please sign in to comment.