Since the 2018/07/23 update, attaching a style macro to a page, breaks the page.
With no style macro attached the page code looks like this:
<div class="giPIMd">
<div>
<div class="ContentBody_spaceOverviewLayout_2Ot" data-internal-id="page-content-only">
<div><div id="content" class="page view">
<div>
<link type="text/css" rel="stylesheet" href="//d1okpoprma61ms.cloudfront.net/domain.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/1394665544/h/5f8e8223a3d24d5a257c45d826bf121f/_/download/batch/confluence.extra.jira:common/confluence.extra.jira:common.css?externals=__local-default__&relative-url=true" data-wrm-key="confluence.extra.jira:common" data-wrm-batch-type="resource" media="all">
<link type="text/css" rel="stylesheet" href="//d1okpoprma61ms.cloudfront.net/domain.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/1394665544/h/e12589a259a5eca853524dd0d5bc26de/_/download/batch/confluence.extra.jira:refresh-resources/confluence.extra.jira:refresh-resources.css?externals=__local-default__&relative-url=true" data-wrm-key="confluence.extra.jira:refresh-resources" data-wrm-batch-type="resource" media="all">
<link type="text/css" rel="stylesheet" href="//d1okpoprma61ms.cloudfront.net/domain.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/1394665544/h/988db4af2e66fc240a70c5e3ee4eadc8/_/download/batch/com.atlassian.confluence.plugins.confluence-page-layout:pagelayout-content-styles/com.atlassian.confluence.plugins.confluence-page-layout:pagelayout-content-styles.css?externals=__local-default__&relative-url=true" data-wrm-key="com.atlassian.confluence.plugins.confluence-page-layout:pagelayout-content-styles" data-wrm-batch-type="resource" media="all">
<link type="text/css" rel="stylesheet" href="//d1okpoprma61ms.cloudfront.net/domain.atlassian.net/wiki/s/-2028024810/6452/7026b3eb98e6519deadfc22d0bcbd964ee381cbd/23/_/styles/colors.css" media="all">
</div>
<div id="main-content" class="wiki-content">
<div class="contentLayout2">
<div class="columnLayout single" data-layout="single">
<div class="cell normal" data-type="normal">
<div class="innerCell">...
With a blank! style macro attached, the page code looks like this:
<div class="giPIMd">
<div>
<div class="ContentBody_fallbackLayout_35s" data-internal-id="page-content-only">
<div>
<div>
<div class="ap-iframe-container iframe-init" id="embedded-fallback-mode-fake-addon-key__fallback-mode-fake-key__d5a42a6"><iframe id="fallback-mode-fake-addon-key__fallback-mode-fake-key__d5a42a6" name="{"extension_id":"fallback-mode-fake-addon-key__fallback-mode-fake-key__d5a42a6","api":{"_globals":{"request":{"args":["a","e"],"returnsPromise":false}},"messages":{"clear":{"args":["c"],"returnsPromise":false},"onClose":{"args":["c","e"],"returnsPromise":false},"generic":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}},"error":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}},"warning":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}},"success":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}},"info":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}},"hint":{"constructor":{"args":["a","d","c","e"],"returnsPromise":false}}},"flag":{"create":{"constructor":{"args":["e","g"],"returnsPromise":false},"close":{"args":[],"returnsPromise":false}}},"dialog":{"create":{"constructor":{"args":["c","e"],"returnsPromise":false}},"close":{"args":["d","c"],"returnsPromise":false},"getCustomData":{"args":["d"],"returnsPromise":false},"getButton":{"constructor":{"args":["d","c"],"returnsPromise":false},"enable":{"args":[],"returnsPromise":false},"disable":{"args":[],"returnsPromise":false},"toggle":{"args":[],"returnsPromise":false},"isEnabled":{"args":["a"],"returnsPromise":false},"trigger":{"args":["a"],"returnsPromise":false},"hide":{"args":[],"returnsPromise":false},"show":{"args":[],"returnsPromise":false},"isHidden":{"args":["a"],"returnsPromise":false}},"createButton":{"constructor":{"args":["e","g"],"returnsPromise":false}}},"inlineDialog":{"hide":{"args":["c"],"returnsPromise":false}},"env":{"getLocation":{"args":["c"],"returnsPromise":false},"resize":{"args":["c","e","g"],"returnsPromise":false},"sizeToParent":{"args":[],"returnsPromise":false},"hideFooter":{"args":["c"],"returnsPromise":false}},"events":{"emit":{"args":["c"],"returnsPromise":false},"emitPublic":{"args":["c"],"returnsPromise":false}},"_analytics":{"trackDeprecatedMethodUsed":{"args":["c","e"],"returnsPromise":false}},"scrollPosition":{"getPosition":{"args":["c"],"returnsPromise":false},"setVerticalPosition":{"args":["c","e"],"returnsPromise":false}},"dropdown":{"create":{"args":["c","e"],"returnsPromise":false},"showAt":{"args":["c","e","f","h"],"returnsPromise":false},"hide":{"args":["c"],"returnsPromise":false},"itemDisable":{"args":["c","e"],"returnsPromise":false},"itemEnable":{"args":["c","e"],"returnsPromise":false}},"cookie":{"save":{"args":["a","d","c"],"returnsPromise":false},"read":{"args":["a","d"],"returnsPromise":false},"erase":{"args":["a"],"returnsPromise":false}},"history":{"_registerWindowListeners":{"args":[],"returnsPromise":false},"back":{"args":["a"],"returnsPromise":false},"forward":{"args":["a"],"returnsPromise":false},"go":{"args":["a"],"returnsPromise":false},"getState":{"args":["a","f"],"returnsPromise":false},"pushState":{"args":["a","f"],"returnsPromise":false},"replaceState":{"args":["a","f"],"returnsPromise":false}},"navigator":{"getLocation":{"args":["a"],"returnsPromise":false},"go":{"args":["a","b","c"],"returnsPromise":false},"reload":{"args":[],"returnsPromise":false}},"user":{"getUser":{"args":["a"],"returnsPromise":false},"getCurrentUser":{"args":["a"],"returnsPromise":false},"getTimeZone":{"args":["a"],"returnsPromise":false}},"confluence":{"saveMacro":{"args":["a","c"],"returnsPromise":false},"closeMacroEditor":{"args":[],"returnsPromise":false},"getMacroData":{"args":["a"],"returnsPromise":false},"getMacroBody":{"args":["a"],"returnsPromise":false},"onMacroPropertyPanelEvent":{"args":[],"returnsPromise":false},"closeMacroPropertyPanel":{"args":[],"returnsPromise":false},"getContentProperty":{"args":["a","b"],"returnsPromise":false},"setContentProperty":{"args":["a","b"],"returnsPromise":false},"syncPropertyFromServer":{"args":["a","b"],"returnsPromise":false}},"custom-content":{"getEditComponent":{"constructor":{"args":[],"returnsPromise":false},"intercept":{"args":["a"],"returnsPromise":false},"submitCallback":{"args":["b","f"],"returnsPromise":false},"submitErrorCallback":{"args":["b","f"],"returnsPromise":false},"submitSuccessCallback":{"args":["b","f"],"returnsPromise":false},"cancelCallback":{"args":["b","f"],"returnsPromise":false}}},"customContent":{"getEditComponent":{"constructor":{"args":[],"returnsPromise":false},"intercept":{"args":["a"],"returnsPromise":false},"submitCallback":{"args":["b","f"],"returnsPromise":false},"submitErrorCallback":{"args":["b","f"],"returnsPromise":false},"submitSuccessCallback":{"args":["b","f"],"returnsPromise":false},"cancelCallback":{"args":["b","f"],"returnsPromise":false}}}},"origin":"https://domain.atlassian.net","options":{"crev":"1.2.9","history":{"state":""},"uniqueKey":"fallback-mode-fake-key__6043089262427377","origin":"https://domain.atlassian.net/","hostOrigin":"https://domain.atlassian.net/","isFullPage":false,"autoresize":false,"user":{"uid":"redXIII","ukey":"ff80808158ddfffc0158de01c25a0011"},"productContext":{},"contextPath":"/wiki","width":"100%","targets":{"env":{"resize":"both"}}}}" src="https://domain.atlassian.net/wiki/content-only/viewpage.action?pageId=2949123&iframeId=fallback-mode&isSpaceOverview=true&user_key=ff80808158ddfffc0158de01c25a0011&user_id=redXIII&xdm_e=https://domain.atlassian.net/&xsm_c=fallback-mode-fake-key__6043089262427377&cp=/wiki&cv=0.0.0-fallback-mode&lic=none" width="100%" referrerpolicy="no-referrer" class="ap-iframe view" data-bridge-id="1532417658317" data-is-fallback-mode-iframe="true" style="border: 0px; width: 100%; height: 500px; display: block;">...
It does not matter if the style macro has css in it, or if it is importing a style sheet, or it's just blank, it merely needs to be attached to the page for the above code change to happen.
The iFrame itself is then 2/3 the height of the page, leaving large amount of white space below itself.
I've checked the bug log and cannot find any existing bugs, and I just want to check here before I raise a bug.
So has anyone else seen this happen?
Regards
Alex
Finally found the bug relating to the above (Very narrow content window) , and all has now been fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.