Skip to content

Commit

Permalink
Merge branch 'main' into fix-button-invalid-variant-renders-incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-sch authored Apr 15, 2024
2 parents cfc5cc7 + 5f48bb9 commit 5445aab
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions showcases/patternhub/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -405,20 +405,31 @@ h6 {
.code {
overflow: auto;
position: absolute;
z-index: 20;
inset: 0;
z-index: 1;
margin: variables.$db-spacing-fixed-md;
display: flex;
flex-direction: column;
gap: variables.$db-spacing-fixed-sm;

code {
display: block;
white-space: pre-wrap;
}

.tab-container {
position: relative;

.copy-button {
position: absolute;
z-index: 20;
inset-inline-end: variables.$db-spacing-fixed-sm;
inset-block-start: variables.$db-spacing-fixed-sm;
inset-block-end: variables.$db-spacing-fixed-sm;

@include screen-sizes.screen("md") {
inset-block-end: auto;
inset-block-start: variables.$db-spacing-fixed-sm;
}
}
}
}
Expand Down

0 comments on commit 5445aab

Please sign in to comment.