I have written a wrapper for native SharePoint online News web-parts which combines them into a tabbed layout. A result of this is that a number of the web-parts are hidden most of the time. If the window is made smaller, the web-parts re-scale to fit the new dimensions but if the window is made larger again the hidden ones don't re-scale again.

Below is an image of the news web-part, properly scaled:

enter image description here

And below is a picture of the problem occurring after a resize:

enter image description here

My initial thought was to fix this using CSS, but it doesn't render all the content when it shows the compact layout.

Is there a way to force the web-part to resize?

It doesn't appear to respond to resizing of its parents and resizing the window is not allowed in most browsers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.