diff --git a/aio/src/styles/2-modules/_code.scss b/aio/src/styles/2-modules/_code.scss index 26f2418850..a2597a12e0 100644 --- a/aio/src/styles/2-modules/_code.scss +++ b/aio/src/styles/2-modules/_code.scss @@ -69,7 +69,7 @@ code-tabs mat-tab-body-content .fadeIn { aio-code pre { display: flex; min-height: 32px; - margin: 16px; + margin: 16px 32px; white-space: pre-wrap; align-items: center; @@ -101,8 +101,8 @@ code ol { .copy-button { display: inline-block; position: absolute; - top: 6px; - right: 8px; + top: -8px; + right: -32px; color: $blue-grey-200; background-color: transparent; @@ -111,11 +111,6 @@ code ol { &:hover { color: $mediumgray; } - - @media (max-width: 480px) { - top: 0; - right: 0; - } } .lang-sh .copy-button, .lang-bash .copy-button {