Commit a72b302
fix: left-align E2B logo in Ory auth flows for Safari (#453)
## Summary
The `E2BLogoSmall` SVG in `OryCardHeader` appears centered in Safari
because `width: fit-content` (`w-fit`) doesn't correctly resolve on SVGs
in flex-col contexts — Safari computes a wider-than-expected element
width, pushing the logo toward center.
Fix: remove `w-fit` so the base `w-auto` from `E2BLogoSmall` takes
effect (correctly derives width from height + viewBox aspect ratio
cross-browser), and keep `self-start` to explicitly left-align the flex
child.
Affects all four Ory auth flows (login, registration, recovery,
verification) since they share `OryCardHeader`.
Link to Devin session:
https://app.devin.ai/sessions/c5e1ce36f7b443d891048d75ee873a88
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ben@e2b.dev <ben@e2b.dev>1 parent eec7c7b commit a72b302
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments