diff --git a/IPython/html/static/notebook/less/celltoolbar.less b/IPython/html/static/notebook/less/celltoolbar.less
index c930f54..e706bf3 100644
--- a/IPython/html/static/notebook/less/celltoolbar.less
+++ b/IPython/html/static/notebook/less/celltoolbar.less
@@ -31,12 +31,17 @@
}
.ctb_global_show .ctb_show + .input_area,
-.ctb_global_show .ctb_show + div.text_cell_input
-{
+.ctb_global_show .ctb_show + div.text_cell_input,
+.ctb_global_show .ctb_show ~ div.text_cell_render {
border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
+.ctb_global_show .ctb_show ~ div.text_cell_render {
+ // add border to rendered markdown cells
+ border: @border_width solid @light_border_color;
+}
+
.celltoolbar {
font-size: 87%;
padding-top: 3px;
diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css
index ea47e55..fa1ff28 100644
--- a/IPython/html/static/style/style.min.css
+++ b/IPython/html/static/style/style.min.css
@@ -10218,10 +10218,14 @@ p {
display: block;
}
.ctb_global_show .ctb_show + .input_area,
-.ctb_global_show .ctb_show + div.text_cell_input {
+.ctb_global_show .ctb_show + div.text_cell_input,
+.ctb_global_show .ctb_show ~ div.text_cell_render {
border-top-right-radius: 0px;
border-top-left-radius: 0px;
}
+.ctb_global_show .ctb_show ~ div.text_cell_render {
+ border: 1px solid #cfcfcf;
+}
.celltoolbar {
font-size: 87%;
padding-top: 3px;