Skip to content

Commit

Permalink
Fix Layout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xyTom committed Apr 23, 2024
1 parent 324ba7b commit 2c36e23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare global {

function App() {
const [screenShotResult, setscreenShotResult] = useState(null);
const [result, setResult] = useState(null);
const [result, setResult] = useState("null");
const [loading, setLoading] = useState(false);

//retry button
Expand Down Expand Up @@ -408,7 +408,7 @@ export function RetryButton(props: { onClick: () => void }) {
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button variant="secondary" size="icon" onClick={props.onClick}>
<Button className="mt-auto" variant="secondary" size="icon" onClick={props.onClick}>
<RotateCw className="h-10 w-5" />
</Button>
</TooltipTrigger>
Expand All @@ -426,7 +426,7 @@ export function TrashButton(props: { onClick: () => void }) {
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button variant="destructive" size="icon" onClick={props.onClick}>
<Button className="mt-auto" variant="destructive" size="icon" onClick={props.onClick}>
<Trash2 className="h-10 w-5" />
</Button>
</TooltipTrigger>
Expand Down

0 comments on commit 2c36e23

Please sign in to comment.