Please refer image

Hi Developers, We had SharePoint list and we customised the list as per our requirement. But we are facing some excess space height issue on list. Please refer attached image. We want to remove the height "style="display: block; height: 318.4px". Can anyone please suggest, how to remove the excess height. Please let us know, if you need any additional information.

SharePoint online environment we are using.

  • Is this a list form? How you have customized it? Also, can you please share the code you used? Is this a default inline CSS or you have applied it through your custom code? also try using div.ui-accordion-content { height: auto !important } – Ganesh Sanap Jan 27 at 8:43

We can add the CSS style below into script editor web part in list form page to achieve it.

    height:auto !important;

enter image description here

| improve this answer | |

Your Answer

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

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