start-ui-web icon indicating copy to clipboard operation
start-ui-web copied to clipboard

Storybook docs height with Firefox

Open HugoPerard opened this issue 2 years ago • 5 comments

The problem : When I'm on Firefox, Storybooks docs height looks minimal. In comparison at Chrome, docs height fit the content.

With Firefox : Capture d’écran 2022-02-25 à 15 02 03

With Chrome : Capture d’écran 2022-02-25 à 15 02 29

HugoPerard avatar Feb 25 '22 14:02 HugoPerard

At the moment, I cannot reproduce this issue. Can you try to clean your cache and disable extensions?

localhost_6006__path=_docs_components-actionsbutton--default

yoannfleurydev avatar Feb 26 '22 12:02 yoannfleurydev

I don't have any extensions, and my cache is clear 😞

HugoPerard avatar Mar 04 '22 23:03 HugoPerard

Same for me

image

Jessy-BAER avatar May 27 '22 17:05 Jessy-BAER

This line in preview.js is not applied on firefox

Jessy-BAER avatar May 27 '22 17:05 Jessy-BAER

This line in preview.js is not applied on firefox

I did reproduce, but I don't think padding is the cause of the problem. I agree that DevTools are saying so, but we can clearly see the padding by inspecting the computed tab. (Also, on localhost, DevTools are not saying padding have problems)

image

yoannfleurydev avatar May 27 '22 22:05 yoannfleurydev

We need to check if this is still a thing with version 7.

yoannfleurydev avatar May 04 '23 07:05 yoannfleurydev

I did test that in production (https://demo.start-ui.com/storybook), it looks like it has been fixed, I'm closing this issue. Feel free to reopen if it happens again.

yoannfleurydev avatar May 04 '23 08:05 yoannfleurydev