Skip to content

Instantly share code, notes, and snippets.

View mjmatthiesen's full-sized avatar

mjmatthiesen

  • Edmonton
View GitHub Profile
@mjmatthiesen
mjmatthiesen / script.js
Created October 11, 2023 16:37
Increase page part size
function StylePagePart(controlName) {
try {
let element = window.parent.document.querySelector('[controlname="' + controlName + '"]');
if (element) {
let parent = element.parentNode.parentNode;
if (parent) {
parent.style.maxHeight = '150px';
}
else {