Skip to content

Commit 5cbca61

Browse files
committed
cleanup
1 parent f45f797 commit 5cbca61

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/components/StablecoinAccordion/AccordionCustomItem.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const AccordionCustomItem = (props: AccordionCustomItemProps) => {
6666
<AccordionItem value={contentObj.title} className="border">
6767
<AccordionTrigger
6868
hideIcon
69-
className="items-center justify-between px-0 py-0 text-body-medium hover:text-body-medium"
69+
className="items-center justify-between px-0 py-0 text-body-medium hover:text-body-medium md:px-0"
7070
onClick={handleOpen}
7171
>
7272
<Flex
@@ -75,7 +75,7 @@ export const AccordionCustomItem = (props: AccordionCustomItemProps) => {
7575
>
7676
<Emoji
7777
text={contentObj.emoji}
78-
className="mb-2 me-6 text-[3rem] md:mb-0 md:text-[4rem]"
78+
className="mb-2 me-6 text-5xl md:mb-0 md:text-6xl"
7979
/>
8080
<div>
8181
<Flex className="mb-2 items-center">
@@ -84,7 +84,7 @@ export const AccordionCustomItem = (props: AccordionCustomItemProps) => {
8484
</h3>
8585
{!!contentObj.pill && (
8686
<Tag
87-
className="ms-4 rounded-[4px]"
87+
className="ms-4"
8888
variant="solid"
8989
status={contentObj.pill.color}
9090
>
@@ -97,7 +97,7 @@ export const AccordionCustomItem = (props: AccordionCustomItemProps) => {
9797
</Flex>
9898
<MoreOrLessLink isOpen={open} />
9999
</AccordionTrigger>
100-
<AccordionContent className="-mx-px -mb-px mt-0 border border-border bg-background p-0 text-md">
100+
<AccordionContent className="-mx-px -mb-px mt-0 border border-border bg-background p-0 text-md md:p-0">
101101
<Flex className="flex-col justify-between p-8 lg:flex-row">
102102
{children}
103103
</Flex>

src/components/StablecoinAccordion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const StablecoinAccordion = () => {
104104
const DEFAULT_IMAGE_WIDTH = 24
105105

106106
return (
107-
<Accordion type="single" className="w-full rounded-[4px]" collapsible>
107+
<Accordion type="single" className="w-full rounded" collapsible>
108108
<AccordionCustomItem category="dapps">
109109
<LeftColumnPanel>
110110
<SectionTitle>

tailwind/ui/accordion.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const AccordionTrigger = React.forwardRef<
2626
ref={ref}
2727
className={cn(
2828
"flex flex-1 items-center justify-between gap-2 px-2 py-2 font-medium transition-all hover:bg-background-highlight hover:text-primary-hover focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-primary-hover md:px-4 [&[data-state=open]:dir(rtl)>svg]:rotate-90 [&[data-state=open]>svg]:-rotate-90 [&[data-state=open]]:bg-background-highlight [&[data-state=open]]:text-primary-high-contrast",
29-
3029
className
3130
)}
3231
{...props}

0 commit comments

Comments
 (0)