Skip to content

Commit d0581c4

Browse files
committed
remove different images for form, make object-center instead of left
1 parent 1fe92cc commit d0581c4

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/index.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
.blink {
6-
container-type: inline-size;
7-
}
8-
95
@layer base {
6+
.blink {
7+
container-type: inline-size;
8+
}
9+
1010
.dial-light {
1111
--blink-bg-primary: #ffffff;
1212
--blink-button: #2a2a2b;

src/ui/ActionLayout.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,9 @@ export const ActionLayout = ({
103103
className="block max-h-[100cqw] overflow-y-hidden px-5 pt-5"
104104
>
105105
<img
106-
className={clsx('w-full rounded-xl object-cover object-left', {
107-
'aspect-auto': !form,
108-
'aspect-[2/1]': form,
109-
})}
106+
className={clsx(
107+
'aspect-auto w-full rounded-xl object-cover object-center',
108+
)}
110109
src={image}
111110
alt="action-image"
112111
/>

0 commit comments

Comments
 (0)