Forum Discussion
Borders of report
- 7 years ago
Hi,
Was able to solve this issue adding border-style:none to power-bi.js file.
Regards,
Yerkhan
Hi Yerkhan,
Which part do you mean? Is the one in the rectangle in the snapshot below?
If so, the https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html could give you some ideas. I will get back to you if I find the key parts.
Best Regards,
Dale
Hi,
Was able to solve this issue adding border-style:none to power-bi.js file.
Regards,
Yerkhan
- v-jiascu-msft7 years agoMicrosoft Employee
- alexbjorlig6 years agoHelper IV
Where did you add this to the js file?
- csjames0106 years agoFrequent Visitor
powerbi-client/dist/powerbi.js
Line 838 (or so) add iframeContent.style.border = 'none';
Here it is added in context:
Embed.prototype.setIframe = function (isLoad, phasedRender) { var _this = this; if (!this.iframe) { var iframeContent = document.createElement("iframe"); var embedUrl = this.config.uniqueId ? utils.addParamToUrl(this.config.embedUrl, 'uid', this.config.uniqueId) : this.config.embedUrl; iframeContent.style.width = '100%'; iframeContent.style.height = '100%'; iframeContent.style.border = 'none';I've been irritated with that border for weeks. Finally came across this which led me down the right path to find it.
- rupeshkumar3901 year agoNew Member
I am using powerbi-client CDN by jsDelivr - A free, fast, and reliable Open Source CDN ,, how can I add this style .. this link is not editable