Skip to content

[main, a02219f] [Moodle 4.5.6, PHP 8.1] preview dialog of single component is not big enough #37

@danowar2k

Description

@danowar2k

Describe the bug
When you preview a component, the dialog is "ok" wide (could be 30% wider but we can manage), but very narrow in height (should be at least as high as wide, but I'd rather like 80% of the screen, cause you want to really see the component).

To Reproduce
Steps to reproduce the behavior:

  1. Open a preview dialog for a component with a height higher than .... 300px?

Expected behavior
The preview dialog should always be wide and high enough so that a component that's smaller than the viewpoint can be seen completely.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: 140.0.7339.128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions