mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-02 16:19:08 +00:00
add pass access token in headers
This commit is contained in:
@@ -32,7 +32,7 @@ export default function CopyTextBox({
|
||||
>
|
||||
<pre
|
||||
ref={textRef}
|
||||
className={`p-4 pr-16 text-sm w-full ${
|
||||
className={`p-2 pr-16 text-sm w-full ${
|
||||
wrapText
|
||||
? "whitespace-pre-wrap break-words"
|
||||
: "overflow-x-auto"
|
||||
@@ -41,10 +41,10 @@ export default function CopyTextBox({
|
||||
<code className="block w-full">{text}</code>
|
||||
</pre>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
type="button"
|
||||
className="absolute top-1 right-1 z-10 bg-card"
|
||||
className="absolute top-0.5 right-0 z-10 bg-card"
|
||||
onClick={copyToClipboard}
|
||||
aria-label="Copy to clipboard"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user