Skip to content

Commit

Permalink
fixed button sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
meg-ghana committed Sep 22, 2023
1 parent e8fd3f4 commit aeb61d3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/screens/EPub/views/EditINote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,28 @@ function EditINote ({epub: epubData, dispatch}) {

{hidden ?
<>

<CTFragment margin="10" padding={[15, 10]} width="auto">
<CTFragment margin="10" padding={[5, 10]} width="12%">
<CTFragment margin="10" padding={[5, 10]} width="auto">
<ButtonGroup fullWidth >
<Button onClick={()=>setHidden(!hidden)}>Split</Button>
</ButtonGroup>
</CTFragment>
</CTFragment>
</>

:
<>
<CTFragment margin="10" padding={[15, 10]} width="auto">
<CTFragment margin="10" padding={[5, 10]} width="40%">
<CTFragment margin="10" padding={[5, 10]} width="auto">
<ButtonGroup fullWidth >
<Button onClick={()=>setHidden(!hidden)}>Collapse</Button>
</ButtonGroup >
</CTFragment>
<QuickActionsEditNote />
</CTFragment>



</>
}

Expand Down

0 comments on commit aeb61d3

Please sign in to comment.