Lines Matching +full:t +full:- +full:mobile
4 return; // Don't show edit buttons if user can't edit
9 return; // Don't add edit buttons while in edit mode
29 sup = 'mobile';
34 // Process all code and file blocks - wrap the <pre> element directly like copy2clipboard does
45 editBtn.classList.add('codeblockedit-btn');
59 btnWrapper.classList.add('codeblockedit-wrapper', sup);
63 btnWrapper.classList.add('codeblockedit-wrapper', sup);
70 var marginTop = window.getComputedStyle(preElem)['margin-top'];
72 btnWrapper.style['margin-top'] = marginTop;
73 preElem.style['margin-top'] = '0';
75 var marginBottom = window.getComputedStyle(preElem)['margin-bottom'];
77 btnWrapper.style['margin-bottom'] = marginBottom;
78 preElem.style['margin-bottom'] = '0';
90 // but the ID didn't exist in the initial HTML (it's added by JavaScript)
113 for (var i = hiddenAncestors.length - 1; i >= 0; i--) {
118 … if (header && /^H[1-6]$/.test(header.tagName) && header.classList.contains('st_closed')) {
124 // Fallback: just show the element if we can't find the controlling header