diff --git a/aio/src/styles/2-modules/_code.scss b/aio/src/styles/2-modules/_code.scss index c58d48ec1d..643e09fc49 100644 --- a/aio/src/styles/2-modules/_code.scss +++ b/aio/src/styles/2-modules/_code.scss @@ -176,6 +176,16 @@ aio-code { padding: 4px; } + #cheatsheet { + td:first-of-type, + th { + code { + background-color: inherit; + padding: 0; + } + } + } + .code-anchor { cursor: pointer; text-decoration: none; diff --git a/aio/src/styles/2-modules/_table.scss b/aio/src/styles/2-modules/_table.scss index 24b6feb965..ecea8f0a92 100644 --- a/aio/src/styles/2-modules/_table.scss +++ b/aio/src/styles/2-modules/_table.scss @@ -94,11 +94,6 @@ table { display: block; position: relative; max-width: 100%; - - code { - padding: 0; - background-color: inherit; - } } th {