diff --git a/aio/src/styles/2-modules/_api-list.scss b/aio/src/styles/2-modules/_api-list.scss index 9c9d75719f..7e6c77d90f 100644 --- a/aio/src/styles/2-modules/_api-list.scss +++ b/aio/src/styles/2-modules/_api-list.scss @@ -171,13 +171,3 @@ aio-api-list { z-index: $layer-1; } } - -.code-anchor { - cursor: pointer; - text-decoration: none; - font-size: inherit; - - &:hover { - text-decoration: underline; - } -} diff --git a/aio/src/styles/2-modules/_code.scss b/aio/src/styles/2-modules/_code.scss index 3a3cad1d21..4eeb1c7eec 100644 --- a/aio/src/styles/2-modules/_code.scss +++ b/aio/src/styles/2-modules/_code.scss @@ -161,6 +161,16 @@ aio-code { font-weight: inherit; } } + + .code-anchor { + cursor: pointer; + text-decoration: none; + font-size: inherit; + + &:hover { + text-decoration: underline; + } + } } /* PRETTY PRINTING STYLES for prettify.js. */