Skip to content

Commit

Permalink
make border radius more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoBSalgueiro committed Mar 25, 2024
1 parent c6cc5ca commit 89e27de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/components/boards/EvalBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function EvalBar({
style={{
width: 25,
height: "100%",
borderRadius: 10,
borderRadius: "var(--mantine-radius-xs)",
overflow: "hidden",
}}
>
{ScoreBars}
Expand Down
6 changes: 3 additions & 3 deletions src/components/panels/analysis/ScoreBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function ScoreBubble({ size, score }: { size: "sm" | "md"; score: Score }) {
backgroundColor:
score.value >= 0 ? theme.colors.gray[0] : theme.colors.dark[9],
textAlign: "center",
padding: size === "md" ? "0.3125rem" : "0.25rem",
borderRadius: theme.radius.md,
width: size === "md" ? "4.5rem" : "3.5rem",
padding: "0.15rem",
borderRadius: theme.radius.sm,
width: size === "md" ? "4rem" : "3.5rem",
boxShadow: theme.shadows.md,
})}
>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/chessgroundColorsOverride.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cg-board {
background-image: var(--board-image, url('/board/gray.svg'));
border-radius: 10px;
border-radius: var(--mantine-radius-default);
overflow: hidden;
}

Expand Down

0 comments on commit 89e27de

Please sign in to comment.