Skip to content

Commit

Permalink
fix(components-CopyButton): rectify CopyButton position (#780)
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 0dbae69
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

1 comment on commit 0dbae69

@vercel
Copy link

@vercel vercel bot commented on 0dbae69 May 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-sabertaz.vercel.app
blog.tazimi.dev
blog-git-main-sabertaz.vercel.app

Please sign in to comment.