mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
add border to rendered markdown with cell toolbar
matches unrendered markdown and code cells
This commit is contained in:
parent
b01bd7b626
commit
784f07346d
@ -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;
|
||||
|
6
IPython/html/static/style/style.min.css
vendored
6
IPython/html/static/style/style.min.css
vendored
@ -10157,10 +10157,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;
|
||||
|
Loading…
Reference in New Issue
Block a user