Skip to content

Commit

Permalink
Revert "updates"
Browse files Browse the repository at this point in the history
This reverts commit 15cfedc.
  • Loading branch information
carlosvq committed Nov 14, 2022
1 parent 5bc0d82 commit 055fbaa
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion app/components/shared/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export type { TooltipProps }
export default function Tooltip(props: TooltipProps) {
const { children, ...tooltipProps } = props
return (
<MantineTooltip multiline={tooltipProps.multiline ?? true} {...tooltipProps}>
<MantineTooltip wrapLines={tooltipProps.wrapLines ?? true} {...tooltipProps}>
{children}
</MantineTooltip>
)
Expand Down
7 changes: 5 additions & 2 deletions app/routes/validate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ export default function ValidateEmail() {
<Grid grow align="center" gutter="lg" justify="center">
<Grid.Col className="pokt-validate__content" sm={7} xs={12}>
<Box className="pokt-validate__title">
<Title order={1} style={{ fontWeight: 500 }}>
<Title css={{ fontWeight: "$regular" }} order={1}>
Email Verification{" "}
<Title
css={{
color: "var(--color-secondary-main)",
fontWeight: "$bold",
}}
order={1}
style={{ color: "var(--color-secondary-main)", fontWeight: 700 }}
>
Sent
</Title>
Expand Down
20 changes: 10 additions & 10 deletions app/views/faqs/faqsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ export default function FaqsView({ categories }: FaqsViewProps) {
? value[0].category?.translations[0]?.display
: ""}
</h2>
<Accordion chevronPosition="right" className="faqs">
<Accordion className="faqs">
{value.map((item) => (
<Accordion.Item key={item.id} className="faqs-item" value={item.id}>
<Accordion.Control>
{item.translations ? String(item.translations[0]?.question) : ""}
</Accordion.Control>
<Accordion.Panel>
{item.translations && item.translations[0]?.answer && (
<Remark>{item.translations[0].answer ?? ""}</Remark>
)}
</Accordion.Panel>
<Accordion.Item
key={item.id}
className="faqs-item"
iconPosition="right"
label={item.translations ? item.translations[0]?.question : ""}
>
{item.translations && item.translations[0]?.answer && (
<Remark>{item.translations[0].answer ?? ""}</Remark>
)}
</Accordion.Item>
))}
</Accordion>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@mantine/hooks": "^5.6.2",
"@mantine/remix": "^5.6.2",
"@mantine/ssr": "^4.2.2",
"@pokt-foundation/pocket-blocks": "^2.0.0-alpha.3",
"@pokt-foundation/pocket-blocks": "^2.0.0-alpha.1",
"@pokt-foundation/pocketjs-isomorphic-provider": "^1.0.0",
"@pokt-foundation/ui": "^0.3.9",
"@radix-ui/react-dropdown-menu": "^0.1.6",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 055fbaa

Please sign in to comment.