docs: port over to TailwindCSS (#2058)
This commit is contained in:
@@ -31,14 +31,14 @@ export default function CopyArea(props: { code: string }) {
|
||||
}, [copied.value]);
|
||||
|
||||
return (
|
||||
<div class="bg(gray-800) rounded text-white flex items-center min-w-0">
|
||||
<div class="bg-gray-800 rounded text-white flex items-center min-w-0">
|
||||
<pre class="overflow-x-auto flex-1 py-2 px-4">
|
||||
{props.code}
|
||||
</pre>
|
||||
|
||||
<div class="relative my-2 mr-4">
|
||||
<div
|
||||
class={`hidden transition ease-in-out absolute pointer-events-none bg-gray-900 text-white absolute p-2 -top-1/3 left-1/2 transform -translate-x-1/2 -translate-y-full box-border rounded opacity-0 ${
|
||||
class={`hidden transition ease-in-out absolute pointer-events-none bg-gray-900 text-white p-2 -top-1/3 left-1/2 transform -translate-x-1/2 -translate-y-full box-border rounded opacity-0 ${
|
||||
copied.value && "block opacity-100"
|
||||
}`}
|
||||
>
|
||||
|
||||
@@ -99,7 +99,7 @@ function LemonDrop() {
|
||||
viewBox="0 0 100 300"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="mt-36"
|
||||
class="mt-32"
|
||||
role="img"
|
||||
aria-label="Fresh logo"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user