MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / updateStyle

Function updateStyle

src/sidebarApps/extensions/index.js:745–757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

743}
744
745function updateStyle() {
746 let style = "";
747
748 $scrollableLists.forEach(($el) => {
749 style += `
750 .list.collapsible[data-id="${$el.dataset.id}"] {
751 max-height: ${$el.dataset.height} !important;
752 }
753 `;
754 });
755
756 $style.innerHTML = style;
757}
758
759function getLocalRes(id, name) {
760 return Url.join(PLUGIN_DIR, id, name);

Callers 2

removeHeightFunction · 0.85
setHeightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected