Skip to content

Commit d233e82

Browse files
committed
実行ボタンのサイズを固定
1 parent 552bd70 commit d233e82

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

app/terminal/exec.tsx

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,21 @@ export function ExecFile(props: ExecProps) {
236236
}
237237

238238
export function StartButtonContent() {
239-
return "▶ 実行";
239+
return (
240+
<>
241+
{/*<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->*/}
242+
<svg
243+
fill="currentColor"
244+
className="w-4 h-4"
245+
viewBox="0 0 32 32"
246+
version="1.1"
247+
xmlns="http://www.w3.org/2000/svg"
248+
>
249+
<path d="M5.92 24.096q0 1.088 0.928 1.728 0.512 0.288 1.088 0.288 0.448 0 0.896-0.224l16.16-8.064q0.48-0.256 0.8-0.736t0.288-1.088-0.288-1.056-0.8-0.736l-16.16-8.064q-0.448-0.224-0.896-0.224-0.544 0-1.088 0.288-0.928 0.608-0.928 1.728v16.16z"></path>
250+
</svg>
251+
<span className="inline-block w-7">実行</span>
252+
</>
253+
);
240254
}
241255
export function StopButtonContent() {
242256
/*<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->*/
@@ -259,7 +273,7 @@ export function StopButtonContent() {
259273
fill="currentColor"
260274
/>
261275
</svg>
262-
停止
276+
<span className="inline-block w-7">停止</span>
263277
</>
264278
);
265279
}

0 commit comments

Comments
 (0)