Skip to content

Commit 754695b

Browse files
Fix: Reformat the section and pading for button.
1 parent 667a183 commit 754695b

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

demo/index.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,23 @@
2121

2222
<div class="w-full bg-[#222222] border border-[#2d2d2d] rounded-md flex flex-col flex-[70] basis-0 overflow-hidden">
2323

24-
<div class="bg-[#1c1c1c] border-t border-[#2d2d2d] px-3 py-2 flex justify-between items-center">
24+
<div class="bg-[#1c1c1c] border-t border-[#2d2d2d] flex justify-between items-center">
2525
<div class="text-[12px] tracking-tighter font-semibold text-zinc-500 flex items-center gap-1 w-full">
26-
<p>editor</p>
27-
<button id="run" disabled class="ml-auto flex items-center gap-2 px-2.5 py-0.5 bg-[#d97757] text-[#ffffff] rounded-md hover:bg-[#c16644] disabled:opacity-40 disabled:cursor-not-allowed transition">
28-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-2.5">
29-
<path d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"/>
30-
</svg>
31-
32-
<span>Run</span>
33-
</button>
26+
27+
<section class="px-3 py-2">
28+
<p>editor</p>
29+
</section>
30+
31+
<section class="px-1.5 py-0.5 ml-auto">
32+
<button id="run" disabled class="flex items-center gap-2 px-2.5 py-0.5 bg-[#d97757] text-[#ffffff] rounded-md hover:bg-[#c16644] disabled:opacity-40 disabled:cursor-not-allowed transition">
33+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-2.5">
34+
<path d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"/>
35+
</svg>
36+
37+
<span>Run</span>
38+
</button>
39+
</section>
40+
3441
</div>
3542
</div>
3643

0 commit comments

Comments
 (0)