# Dashboard wide border after Kibana upgrade

**URL:** <https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570>\
**Category:** Kibana\
**Created:** [September 6, 2018, 12:40pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570 "2018-09-06T12:40:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregpaskal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregpaskal/32/26101_2.png) [@gregpaskal](https://discuss.elastic.co/u/gregpaskal)\
**Post date:** [September 6, 2018, 12:40pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570/1 "2018-09-06T12:40:05Z")

</div>

Kibana community,  
We just upgraded from Kibana 5.x to 6.3.1. After the upgrade, I noticed a wide, white border between all my visualizations on my dashboards. Does anyone know how to resolve this problem?

Here is an example of what it looked like, before and after the upgrade.

 ![After_Kibana_Upgrade](https://us1.discourse-cdn.com/elastic/original/3X/3/8/38acb08b2c38ba9c1b25d05a62e0be7c430daa85.jpeg)

Also, noticed colors used within visualizations did not carry over properly after the upgrade.

---

<div class="post-metadata">

**Author:** ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)\
**Post date:** [September 6, 2018, 8:31pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570/2 "2018-09-06T20:31:49Z")

</div>

Can you do an inspect of one of the panels and post a screenshot showing where the margins are coming from? My guess is you had / have additional CSS you added to your Kibana installation. They may be in conflict with the panels as they are set up now.

Also note that in 6.1 the ability to add / remove panels was added to Kibana. In edit mode for your dashboard go to "Options" and see if they are turned off or on.

I'd definitely do an inspect though and see what class selector is adding the spacing. That can help me troubleshoot a bit more.

---

<div class="post-metadata">

**Author:** ![gregpaskal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregpaskal/32/26101_2.png) [@gregpaskal](https://discuss.elastic.co/u/gregpaskal)\
**Post date:** [September 7, 2018, 1:25pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570/3 "2018-09-07T13:25:15Z")

</div>

@dsnider, please see attached the class selector and details to the padding that is getting added. We don't have any custom CSS we've added to Kibana, this is just what happened after the upgraded and did not exist before.

 ![css_issue](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a741b1565dc78111c31319a1ff978c6cd3f6f7f3.jpeg)

@dsnider, I've also included a snapshot of our options settings for this dashboard. Changing these made no real difference for the wide margin options of the dashboard.

 ![options](https://us1.discourse-cdn.com/elastic/original/3X/7/7/77447c0ff0b9777f1b8a7d52d6a9898a9b4d7e01.jpeg)

---

<div class="post-metadata">

**Author:** ![gregpaskal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregpaskal/32/26101_2.png) [@gregpaskal](https://discuss.elastic.co/u/gregpaskal)\
**Post date:** [September 7, 2018, 1:32pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570/4 "2018-09-07T13:32:03Z")

</div>

@dsnider, here is another screenshot where I disable this padding in DevTools and you can see that margin issue goes away.

 ![css_issue_padding_disabled](https://us1.discourse-cdn.com/elastic/original/3X/d/e/de01c7e99f4bcf10fd38f7e309474b3e0dce1022.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 5, 2018, 1:32pm UTC](https://discuss.elastic.co/t/dashboard-wide-border-after-kibana-upgrade/147570/5 "2018-10-05T13:32:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
