How to get borders in Kibana 5.x dashboards?

Take a look at How to get border for each visualization in Kibana 5 like Kibana 4