Andrew Bone

Results 77 comments of Andrew Bone

It might be better to use aspect ratio for this ```css &__image { display: block; margin: auto; max-width: 100%; height: auto; object-fit: cover; aspect-ratio: 50 / 21; max-height: calc( 100vh...

Hi, here are some thoughts 1. Nesting `` is fine, the most recently opened modal is on top and all other items are inert (including the source modal). 2. It...

I thought I'd make a quick comparison between native dialog and base-ui dialog. I've used states but I don't think it would be too hard to plumb it into context....

There was an issue https://github.com/whatwg/html/issues/9936 looking at helping alleviate some of the top-layers teething issues, I guess the more people that show interest in that the more likely there'll be...

Now if you really want to bake your noodle. If you open Content-Type Builder first and then try to crop an image (without refreshing) the correct CSS is already loaded.

Looks like the padding is 14px https://github.com/fkhadra/react-toastify/blob/a6250d5b918b89eb84a9f1151fda8f9f426a47e7/src/style.css#L130 But the button is 20px wide and 25px tall (3px come from the line-height) https://github.com/fkhadra/react-toastify/blob/a6250d5b918b89eb84a9f1151fda8f9f426a47e7/src/style.css#L298-L299 https://github.com/fkhadra/react-toastify/blob/a6250d5b918b89eb84a9f1151fda8f9f426a47e7/src/style.css#L322-L323 I would probably update the SVG so...

@fkhadra do you want touch taps to pause the toast? If you don't I think the fix should be as simple as https://github.com/fkhadra/react-toastify/blob/main/src/hooks/useToast.ts#L81-L96 becomes ```ts function onDragTransitionEnd(e: React.PointerEvent) { const...