Skip to content

Commit

Permalink
Adjust dialog icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbicus committed Oct 31, 2024
1 parent 5d657c8 commit c109e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/create-card/create-card-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ export default function CreateCardForm() {
<div className="modal-box w-full h-full max-h-full max-w-full overflow-clip lg:w-11/12 lg:h-5/6 lg:max-w-5xl lg:max-h-5xl">
<div className="grid justify-between items-center pb-4 grid-cols-[auto_1fr_auto] gap-4">
<button
className="btn btn-sm btn-circle btn-ghost"
className="btn btn-square btn-ghost"
onClick={() => cameraModalRef.current?.close()}
>
<IconX className="w-6 h-6" />
</button>
<h3 className="font-bold text-lg">Scan your code!</h3>
{devices.length > 1 ? (
<button
className="btn btn-sm btn-circle btn-ghost"
className="btn btn-square btn-ghost"
onClick={() => {
dispatch({
type: CreateCardFormActionTypes.TOGGLE_ACTIVE_DEVICE,
Expand Down
4 changes: 2 additions & 2 deletions app/create-card/scanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ export default function Scanner({
<div
className="max-w-full overflow-clip"
style={{
height: 'calc(100% - 2.5rem)',
maxHeight: 'calc(100% - 2.5rem)',
height: 'calc(100% - 4rem)',
maxHeight: 'calc(100% - 4rem)',
}}
ref={parentDiv}
>
Expand Down

0 comments on commit c109e94

Please sign in to comment.