Improve table styles in docs

This commit is contained in:
Cory LaViska
2020-07-16 07:25:28 -04:00
parent 4ec939b85b
commit f7dfe1072e
2 changed files with 24 additions and 10 deletions

View File

@@ -283,10 +283,6 @@ strong {
padding: 2px 4px;
}
.markdown-section table code:not([class*="lang-"]):not([class*="language-"]) {
white-space: normal;
}
/* Code blocks */
.markdown-section pre {
position: relative;
@@ -401,6 +397,16 @@ strong {
border-right: none;
}
.markdown-section td code {
white-space: nowrap;
}
.markdown-section table .attribute-tooltip {
background: none;
border-bottom: dashed 1px var(--sl-color-gray-80);
cursor: help;
}
/* Tips & Warnings */
.markdown-section p.tip,
.markdown-section p.warn {