Utilising Office UI Grid with React based Sharepoint Web Parts

Copper Contributor

I have been tying to utilise the Office UI Fabric responsive grid with a React Sharepoint Web Part. It seems these are not fully compatible, as the breakpoints for the grid are browser width scoped and not Sharepoint column layout scoped. 


The result of this is that the grid can be utilised in a web part if a single column view is used on a page, but not if multiple columns are used.


If this is correct, are there any alternatives to dealing with columns and layouts for the web parts that allow for scoping to the page columns rather than the browser width?

I have attached two screenshots showing a single column view on mobile, with the grid working correctly, but an incorrect layout on desktop when multiple columns are used. 

0 Replies