Skip to content

Commit

Permalink
Safari code-block overflow workaround (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Nov 14, 2023
1 parent 17db991 commit ae025b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,13 @@ details {
transition: transform 0.2s linear;
}
}

// Workaround for iOS and macOS Safari 17+. For details see:
// https://github.com/open-telemetry/opentelemetry.io/issues/3538

.td-content .highlight > pre {
> .click-to-copy,
> code {
overflow-y: auto;
}
}

0 comments on commit ae025b9

Please sign in to comment.