mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-30 01:32:39 -04:00
Improved copy-to-clipboard button sizing in Admonitions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user