fix(docs): keep long one-liners from scrolling under the copy button
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
.os-panel[hidden] { display: none; }
|
.os-panel[hidden] { display: none; }
|
||||||
.copy-wrap { position: relative; }
|
.copy-wrap { position: relative; }
|
||||||
.copy-wrap button { position: absolute; top: 8px; right: 8px; }
|
.copy-wrap button { position: absolute; top: 8px; right: 8px; }
|
||||||
|
/* The button floats over the block, so keep the long one-liners from
|
||||||
|
scrolling underneath it. */
|
||||||
|
.copy-wrap pre.code { padding-right: 76px; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user