Improved copy-to-clipboard button sizing in Admonitions

This commit is contained in:
squidfunk
2020-03-21 14:21:59 +01:00
parent d4051c9bb5
commit 08d89aeca2
7 changed files with 13 additions and 13 deletions

View File

@@ -28,10 +28,10 @@
.md-clipboard {
position: absolute;
top: px2rem(8px);
right: px2rem(8px);
right: px2em(8px, 16px);
z-index: 1;
width: px2rem(24px);
height: px2rem(24px);
width: px2em(24px, 16px);
height: px2em(24px, 16px);
color: var(--md-default-fg-color--lightest);
border-radius: px2rem(2px);
cursor: pointer;
@@ -44,8 +44,8 @@
// Slightly smaller icon
svg {
width: px2rem(18px);
height: px2rem(18px);
width: px2em(18px, 16px);
height: px2em(18px, 16px);
}
// Show on container hover