Skip to content

Commit

Permalink
スタイルをモバイルに合わせて修正
Browse files Browse the repository at this point in the history
  • Loading branch information
haruyuki-16278 committed Mar 11, 2024
1 parent 51e1ab7 commit 2394783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export function createButton(
if (bottomPx) button.style.bottom = `${bottomPx}px`;
if (leftPx) button.style.left = `${leftPx}px`;
button.className =
"absolute p-4 rounded-full bg-white disabled:bg-gray-700 transition-colors";
"absolute p-8 text-4xl rounded-full bg-white disabled:bg-gray-700 transition-colors";
return button;
}
2 changes: 1 addition & 1 deletion src/ui/result-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function createResultList(
if (bottomPx) ul.style.bottom = `${bottomPx}px`;
if (leftPx) ul.style.left = `${leftPx}px`;
ul.className =
"absolute block w-[240px] h-[160px] p-4 text-white bg-white bg-opacity-25 text-sm rounded-xl overflow-y-auto overflow-x-hidden";
"absolute block w-[480px] h-[280px] p-4 text-white bg-white bg-opacity-25 text-3xl rounded-xl overflow-y-auto overflow-x-hidden";

const appendLine = (text: string) => {
const li = document.createElement("li");
Expand Down

0 comments on commit 2394783

Please sign in to comment.