Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikroongta8 committed May 23, 2024
1 parent ae5eda4 commit 20d1fdf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions admin_panel/ui/pages/dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ const ImageUploadButton = () => {
alt="Preview"
style={{maxWidth: '100%', maxHeight: '300px', marginBottom: '10px'}}
/>
<Button variant="primary" onClick={handleUpload} style={{marginTop: '10px'}}>
Upload Image
</Button>
<Box display="block" marginTop="10px">
<Button variant="primary" onClick={handleUpload}>
Upload Image
</Button>
</Box>
</Box>
)}
{imageUrl && (
Expand Down Expand Up @@ -103,7 +105,7 @@ const ImageUploadButton = () => {

export const Dashboard = () => {
return (
<Box>
<Box marginBottom="200px">
<section
style={{
display: "flex",
Expand Down

0 comments on commit 20d1fdf

Please sign in to comment.