Skip to content

Commit

Permalink
Misc UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerkrewson committed Jul 24, 2024
1 parent b7de202 commit 2a700d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/common/PrimaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ const ButtonWrapper = ({ manualWidth, ...props }: PrimaryButtonProps) => (
onPointerLeaveCapture={undefined}
// @ts-expect-error this error makes no sense
type="secondary"
style={{
width: manualWidth ? "100%" : "auto",
}}
{...props}
ghost
shadow
auto={!manualWidth}
style={{
width: manualWidth ? "100%" : "auto",
}}
/>
);

Expand Down
2 changes: 1 addition & 1 deletion components/library/GameSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const GameSelector = ({
const onSelectGameButton = useCallback(() => {
onSelectGame(viewingGameId, viewingGame.name);
onDone();
}, [onSelectGame, viewingGameId, viewingGame.name, onDone]);
}, [onSelectGame, viewingGameId, viewingGame, onDone]);

const libraryState = useLibraryState();

Expand Down
1 change: 1 addition & 0 deletions components/party/NameBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const NameBox = ({
border: "1pt solid " + (color || "#ddd"),
borderRadius: "0",
boxShadow: "none",
width: "100%",
}}
>
<Card.Body style={{ padding: ".5em", position: "relative" }}>
Expand Down

0 comments on commit 2a700d5

Please sign in to comment.