Size of modal box on desktop devices

Infos:

  • Used Zammad version: 5.1.1
  • Used Zammad installation type: (package)
  • Operating system: Ubuntu 20.04
  • Browser + version: Chrome 100+

Expected behavior:

Modal box on large screens is quite smaller than actual image size.

Modalbox is set dynamically down though. But upwards still has space. On a screen with 2K resolution even the larger image could be set in Modal. (see attachment)

Would it be possible to set this dynamically instead of “Modal–verylarge” for maximum size ?

I have changed maximum dialog size from 990px to 1500px. It looks better with that.

#custom.css
.modal--veryLarge .modal-dialog {max-width: 1500px; }