Preview "min-height" attribute does not updated correctly

Steps to reproduce

  1. turn off preview mode
  2. add a embed block
  3. resize the width of the pane to the narrow most status
  4. turn on the preview mode
  5. resize the width of the pane to the wide most status

Expected result

the height of the embed block will adjust accordingly with the pane width

Actual result

the height of the embed block maintains a min-height which fits the width of pane before turning on the preview mode and does not change accordingly with the change of the pane width.

Environment

  • Operating system:
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.14.15
    Installer version: v0.13.31
    Operating system: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 21.5.0
    Login status: logged in
    Catalyst license: supporter
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 0
    Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

Jun-07-2022 18-33-22

thanks