How to limit the width of the hover preview of a rem

The new display of the preview of descendants on hover is definitely better than before (it always show the hole content), but since it opens to almost the full window width is not very practical for me. Is there a way to limit this width?

Thanks!

@hannesfrank, hi! Maybe you would have an idea. Thanks in advance!

You can use this code to constrain the max height and max width

#document-hover-preview__popup {
	/*max-height: 300px;*/
	max-width: 300px;
}
3 Likes