Skip to content

Commit

Permalink
adjust padding size
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Feb 19, 2023
1 parent 1ac61c5 commit baabc14
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Components/SideDrawer/VerticalResizerButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export default function VerticalResizerButton({
const theme = useTheme()
const gripButtonRatio = 0.5
const gripSize = thickness * gripButtonRatio
// eslint-disable-next-line no-magic-numbers
const verticalPadding = 20

const startResizing = useCallback(() => {
setIsResizing(true)
Expand Down Expand Up @@ -171,10 +169,10 @@ export default function VerticalResizerButton({
>
<Paper
sx={{
paddingBottom: `${verticalPadding}px ${gripSize}px`,
width: '150px',
paddingTop: `10px`,
paddingBottom: '40px',
display: 'flex',
width: '150px',
alignItems: 'center',
justifyContent: 'center',
gap: `${gripSize}px`,
Expand Down

0 comments on commit baabc14

Please sign in to comment.