We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17f7572 commit 51054a0Copy full SHA for 51054a0
src/components/ContentNode/CodeListing.vue
@@ -254,21 +254,20 @@ pre {
254
255
.copy-button {
256
position: absolute;
257
- top: 0.5em;
258
- right: 0.5em;
259
- transform: translateX(0);
+ top: 0.2em;
+ right: 0.2em;
+ width: 24px;
260
+ height: 24px;
261
background: var(--color-fill-gray-tertiary);
262
border: none;
- border-radius: 6px;
263
- padding: 7px 6px;
+ border-radius: 4px;
264
+ padding: 4px;
265
cursor: pointer;
266
opacity: 1;
267
transition: all 0.2s ease-in-out;
268
}
269
270
.copy-button svg {
- width: 24px;
271
- height: 24px;
272
opacity: 0.8;
273
274
0 commit comments