I can't see the left part, it's eaten by the box. I think this weird behavior is reflected in OSRD: when zooming in or out, the component's width doesn't change
Also, it feels like the black borders shouldn't be there
What did you expect to happen?
I expect the component to take up the width of the box and not flow out.
How can we reproduce it (as minimally and precisely as possible)?
What happened?
https://github.com/user-attachments/assets/6ba725be-7632-4f06-8bf6-d80a27e664de
I can't see the left part, it's eaten by the box. I think this weird behavior is reflected in OSRD: when zooming in or out, the component's width doesn't change Also, it feels like the black borders shouldn't be there
What did you expect to happen?
I expect the component to take up the width of the box and not flow out.
How can we reproduce it (as minimally and precisely as possible)?
On which environments the bug occurs?
Deployed Storybook
On which browser the bug occurs?
Firefox