Skip to content

Commit

Permalink
fix(components-CopyButton): rectify CopyButton position
Browse files Browse the repository at this point in the history
close #779
  • Loading branch information
sabertazimi committed May 2, 2022
1 parent 2de7f56 commit b62d146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/CodeBlocks/Code.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

.block {
@apply relative !important;
@apply static !important;
@apply mb-0 p-5 !important;
}

Expand Down
4 changes: 3 additions & 1 deletion components/CopyButton/CopyButton.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.button {
@apply absolute top-5 right-5;
@apply absolute;
@apply right-5;
@apply top-1.5 md:top-1;
}

.icon {
Expand Down

0 comments on commit b62d146

Please sign in to comment.