satori icon indicating copy to clipboard operation
satori copied to clipboard

Incorrect width with overflowed text

Open raptium opened this issue 1 year ago • 1 comments

Bug report

Description / Observed Behavior

The width of visible parts seems to depend on the total width when overflow: hidden is set on the element.

Expected Behavior

Overflowed text should not go beyond boundary when overflow: hidden is set.

Reproduction

image

Please note all three rows have the same style, the only difference is the text.

https://satori-playground.vercel.app/?share=7VZLbxNBDP4r1iBuq_QhIcqqVAJauCAhUbjlMplxdg3z6jySlCj_HU-Wdje04sAJoe5ld2yPv8-fbWm3QnmNohUA55pWcwf8pHxr8PV2O5wANKVg5G0Lc7E0uJmL5s5Tj5cUUWXyrvqVN8W6ScRCqu9d9MXp6n72fv9M_GvSua-uk-Pj5_f23a6-L4bDSOwhtT-Re4Re9OuDgMfR91e9y9f0A1s4OZ6Yg9SaXHdgHcje02XCKUg33nnIGSDjJn9aYVwav674aAyFROmAA4CfhPSkNU6l3RfQU8brIBUTnQvn11GG30KsjB25z9T1uYWzA1fV5wNrwuVM7Hf1TCoC-OgjWmCOxYL2xkdIlEFazA0o7xJrjLlEkJoCJcUaARpiZ0LNFwCpJOv1mDCjDZyFnCJNurgMJYORC8YBzAMGMvnOSZCGboqcwdcM6MgyCFjijzHbiu3SNnBTKIHzKceiATcYFWVZuw_FGGmVHyBqECWqkPvcFDgYUI4JlbdM1w-1MXiewWXNLUtGoFiY2yADOYgYIvboNEbWhA0r3oLAuDglyGoApoSgyPCS3FWIBZalI5nBVYo8YZEPJc7gaqMwZGRRE7k8pvJKSVR8QZVAWjIOV-wgRE88IFXyqibTUMUEWSUBv1ySIgkaE0b2jsms58ljFaqsxJKlX00odnY_zkd1ng-n--LN23eXVwee8yPe06eVfVrZf2dlnyb4f53gv-7s8CUa4UPtTxLtVuwbItrTVy8b0WPlLNoXp2eN0LgonWiX0iRsBFr_jb7chvq7lNf7E-epPbuyC9Si5QnGXSOyXHBEz-r6tY9Gi91P

Additional Context

0.10.3

raptium avatar Aug 15 '23 07:08 raptium

Having this issue as well on 0.10.3, definitely not in line with the expected css behavior...

miapolis avatar Aug 18 '23 19:08 miapolis