File tree Expand file tree Collapse file tree
RiskAcknowledgementToggle
pages/Market/OperationForm/ApyBreakdown Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const Accordion: React.FC<AccordionProps> = ({
2626 >
2727 { ! ! title && < span className = "text-grey" > { title } </ span > }
2828
29- < div className = "ml-auto justify-self-end flex items-center gap-x-1" >
29+ < div className = "ml-auto justify-self-end flex items-center gap-x-1 text-sm " >
3030 { ! ! rightLabel && < span > { rightLabel } </ span > }
3131
3232 < Icon name = "arrowUp" className = { cn ( 'text-grey w-5 h-5' , ! isOpen && 'rotate-180' ) } />
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const LabeledInlineContent = ({
2828 className = { cn ( 'flex w-full items-center justify-between space-x-4' , className ) }
2929 { ...otherContainerProps }
3030 >
31- < div className = "flex items-center text-sm md:text-base " >
31+ < div className = "flex items-center text-sm" >
3232 { typeof iconSrc === 'string' && (
3333 < Icon name = { iconSrc } className = { cn ( '-mt-[2px] mr-2 h-5 w-5' , iconClassName ) } />
3434 ) }
@@ -37,18 +37,13 @@ export const LabeledInlineContent = ({
3737 < TokenIcon token = { iconSrc } className = "-mt-[2px] mr-2 h-5 w-5" />
3838 ) }
3939
40- < p className = { cn ( 'text-sm md:text-base' , invertTextColors ? 'text-offWhite' : 'text-grey' ) } >
41- { label }
42- </ p >
40+ < p className = { cn ( 'text-sm' , invertTextColors ? 'text-offWhite' : 'text-grey' ) } > { label } </ p >
4341
4442 { ! ! tooltip && < InfoIcon className = "ml-2 inline-flex items-center" tooltip = { tooltip } /> }
4543 </ div >
4644
4745 < div
48- className = { cn (
49- 'flex items-center text-sm md:text-base' ,
50- invertTextColors ? 'text-grey' : 'text-offWhite' ,
51- ) }
46+ className = { cn ( 'flex items-center text-sm' , invertTextColors ? 'text-grey' : 'text-offWhite' ) }
5247 >
5348 { children }
5449 </ div >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const RiskAcknowledgementToggle: React.FC<RiskAcknowledgementToggleProps>
1717 < div className = "flex gap-x-3" >
1818 < Toggle { ...toggleProps } />
1919
20- < p > { t ( 'operationForm.riskyOperation.toggleLabel' ) } </ p >
20+ < p className = "text-sm" > { t ( 'operationForm.riskyOperation.toggleLabel' ) } </ p >
2121 </ div >
2222 </ div >
2323 ) ;
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export const ApyBreakdown: React.FC<ApyBreakdownProps> = ({
112112 < Accordion
113113 title = {
114114 < div className = "flex items-center gap-x-2" >
115- < p className = "text-sm md:text-base " > { label } </ p >
115+ < p className = "text-sm" > { label } </ p >
116116
117117 < InfoIcon className = "inline-flex items-center" tooltip = { tooltip } />
118118 </ div >
You can’t perform that action at this time.
0 commit comments