Skip to content

Commit

Permalink
add padding to InformationPentominoDisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
RheingoldRiver committed Oct 29, 2023
1 parent e27789f commit 69ac5b2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/Information/Information.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export const Information = () => {

const InformationPentominoDisplay = ({ p }: { p: string }) => {
return (
<div className="inline-block align-middle">
<div className="inline-block align-middle mx-1">
<PentominoDisplay pentomino={PENTOMINOES[p]} size={2} checkGrid={false}></PentominoDisplay>
</div>
);
Expand All @@ -227,13 +227,7 @@ const KeyboardKeyInfo = ({ children }: { children: ReactNode }) => {

const KeyboardKey = ({ children }: { children: ReactNode }) => {
return (
<span
className={clsx(
"px-1 border border-black dark:border-white rounded",
" min-w-[1.5rem] text-center",
"inline-block"
)}
>
<span className={clsx("px-1 border border-black dark:border-white rounded", " min-w-[1.5rem] text-center")}>
{children}
</span>
);
Expand Down

0 comments on commit 69ac5b2

Please sign in to comment.