Skip to content

Commit 1fe92cc

Browse files
committed
limit blink image height to it's container width
1 parent cc3740b commit 1fe92cc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/index.css

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

5+
.blink {
6+
container-type: inline-size;
7+
}
8+
59
@layer base {
610
.dial-light {
711
--blink-bg-primary: #ffffff;

src/ui/ActionLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const ActionLayout = ({
100100
{image && (
101101
<Linkable
102102
url={websiteUrl}
103-
className="block max-h-[500px] overflow-y-hidden px-5 pt-5"
103+
className="block max-h-[100cqw] overflow-y-hidden px-5 pt-5"
104104
>
105105
<img
106106
className={clsx('w-full rounded-xl object-cover object-left', {

0 commit comments

Comments
 (0)