0

I couldn't figure out how to fix this issue with Edge or Chrome. Rather than display all the fields on a single modal page, it adds a scroll bar when there are plenty of blank space at the bottom.

I have the following css attached to the newifs.aspx (using Oslo layout):

<style unselectable="on">
#contentBox {
margin-left:20px!important;
}
#sideNavBox {
width:20px;margin-left:0px;margin-right:0px;
}
</style> 

The webpart appearance is set to adjust height/width to fit zone. enter image description here

1 Answer 1

1

I found out that SharePoint has an inline style: <div id="s4-workspace" style="width: 758px; height: 450px; overflow-y: auto;">

So I just added the following in the css to override the height:

#s4-workspace { heigh:800px !important; overflow: auto !important}

seems to fix the issue.

3
  • You may want to mark your answer as the correct answer if it fixed your problem! Dec 21, 2017 at 19:38
  • I tried but I have to wait 2 days. I'll do it then Dec 21, 2017 at 21:18
  • Oh yeah, forgot about that! My bad then. Dec 21, 2017 at 21:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.