Skip to content

Commit

Permalink
Merge pull request #1163 from Open-Earth-Foundation/fix/chakra-update…
Browse files Browse the repository at this point in the history
…-visual-bugs

Fix/chakra update visual bugs
  • Loading branch information
cephaschapa authored Mar 3, 2025
2 parents 78d380a + b8718ef commit e3d931e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/src/components/Cards/methodology-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,25 @@ const MethodologyCard: FC<MethodologyCardProps> = ({
>
<Box w="full" display="flex" justifyContent="space-between">
<Checkbox
variant="subtle"
disabled={isMethodologyDisabled}
checked={isSelected}
onChange={handleRadioChange}
css={{
borderRadius: "50% !important",
"& .chakra-checkbox__control": {
borderRadius: "50% !important",
background: "base.light",
},
}}
/>
{isMethodologyDisabled ? (
<Badge
borderWidth="1px"
borderColor="border.neutral"
py="4px"
px="8px"
borderRadius="full"
borderRadius="16px"
color={"content.secondary"}
fontSize="body.sm"
bg="base.light"
Expand Down
3 changes: 3 additions & 0 deletions app/src/lib/theme/app-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export const appTheme = createSystem(defaultConfig, {
html: {
colorPalette: "brand",
},
textarea: {
bg: "base.light !important",
},
},
theme: {
recipes,
Expand Down

0 comments on commit e3d931e

Please sign in to comment.