storybook [Bug]: BrandImage在调整侧边栏大小时会自动调整自身大小

nzkunb0c  于 6个月前  发布在  其他
关注(0)|答案(2)|浏览(56)

Describe the bug

When switching to the Storybook dark theme, the BrandImage resizes itself when changing the width of the sidebar. The same problem seems to have been addressed for the light theme in this issue: #24702 .
Depending on the width of the sidebar, the logos might be different sizes when switching between themes.
I think the dark theme should behave like the light theme.
Screen.Recording.2024-06-10.at.3.04.54.PM.mov

N/A

Reproduction steps

  • No response*

System

Storybook Environment Info:

  System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.7.0/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
    pnpm: 8.3.1 - ~/.nvm/versions/node/v18.7.0/bin/pnpm <----- active
  Browsers:
    Chrome: 125.0.6422.142
    Edge: 125.0.2535.92
    Safari: 17.5
  npmPackages:
    @storybook/addon-a11y: 8.0.9 => 8.0.9 
    @storybook/addon-actions: 8.0.9 => 8.0.9 
    @storybook/addon-essentials: 8.0.9 => 8.0.9 
    @storybook/blocks: 8.0.9 => 8.0.9 
    @storybook/theming: 8.0.9 => 8.0.9 
    @storybook/web-components: 8.0.9 => 8.0.9 
    @storybook/web-components-vite: 8.0.9 => 8.0.9 
    chromatic: 5.8.3 => 5.8.3 
    storybook: 8.0.9 => 8.0.9 
    storybook-dark-mode: 4.0.1 => 4.0.1

Additional context

  • No response*
kknvjkwl

kknvjkwl1#

你好,@vanessayuenn 和 @mayabuserde。
我刚开始参与开源项目的贡献,想了解一下如何开始。你能给我一些建议和流程吗?
谢谢。

xeufq47z

xeufq47z2#

嘿,
我可以解决这个问题,把它分配给我。
谢谢

相关问题