Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix overlapping of open in playground button #17403

Merged
merged 3 commits into from Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/src/assets/scss/docs.scss
Expand Up @@ -112,6 +112,10 @@ div.incorrect {
offset-inline-end: -22px;
offset-block-start: -22px;
}

pre.line-numbers-mode {
padding-bottom: 4.5rem;
}
}

div.correct {
Expand Down Expand Up @@ -142,10 +146,8 @@ pre[class*="language-"] {
.c-btn.c-btn--playground {
position: absolute;
font-size: var(--step--1);
bottom: -1rem;
bottom: 1rem;
right: 1rem;
offset-block-end: 0.5rem;
offset-inline-end: 0.5rem;
z-index: 1;

@media all and (min-width: 768px) {
Expand All @@ -166,6 +168,7 @@ pre[class*="language-"] {
position: fixed;
right: 50px;
bottom: 35px;
z-index: 1;
font-size: 1.5rem;
border-radius: 50%;
color: var(--body-background-color);
Expand Down