To match the code blocks, tables in Neo.component.Markdown should have a 4px border radius.
Since border-collapse: collapse prevents border-radius from working, we should switch to border-collapse: separate with border-spacing: 0.
Proposed CSS Update:
Modify resources/scss/src/component/Markdown.scss:
> table {
border : 1px solid lightgray;
border-collapse: separate;
border-radius : 4px;
border-spacing : 0;
margin : 1em 0;
overflow : hidden;
width : 100%;
th, td {
border-bottom: 1px solid lightgray;
border-right : 1px solid lightgray;
padding : 8px 12px;
text-align : left;
}
th:last-child,
td:last-child {
border-right: none;
}
tr:last-child td {
border-bottom: none;
}
th {
background-color: #f8f8f8;
font-weight : bold;
}
}
To match the code blocks, tables in
Neo.component.Markdownshould have a4pxborder radius.Since
border-collapse: collapsepreventsborder-radiusfrom working, we should switch toborder-collapse: separatewithborder-spacing: 0.Proposed CSS Update: Modify
resources/scss/src/component/Markdown.scss:> table { border : 1px solid lightgray; border-collapse: separate; border-radius : 4px; border-spacing : 0; margin : 1em 0; overflow : hidden; width : 100%; th, td { border-bottom: 1px solid lightgray; border-right : 1px solid lightgray; padding : 8px 12px; text-align : left; } /* Prevent double borders on the right edge */ th:last-child, td:last-child { border-right: none; } /* Prevent double borders on the bottom edge */ tr:last-child td { border-bottom: none; } th { background-color: #f8f8f8; font-weight : bold; } }