File tree Expand file tree Collapse file tree
components/TotalTransactions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Fix Total Transactions and Latest Blocks responsive alignment
Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ export const TotalTransactions: FC<TotalTransactionsProps> = ({
8888 const { t } = useTranslation ( )
8989 const [ chartDuration , setChartDuration ] = useState < ChartDuration > ( ChartDuration . MONTH )
9090 return (
91- < Card variant = "layout" >
91+ < Card variant = "layout" className = "min-w-0 flex-1" >
9292 < CardHeader >
93- < CardTitle className = "flex-col sm:flex-row sm:items-center sm:justify-between gap-1" >
93+ < CardTitle className = "flex-col flex-wrap sm:flex-row sm:items-center sm:justify-between gap-1" >
9494 { title ?? < Typography variant = "h3" > { t ( 'totalTransactions.header' ) } </ Typography > }
9595
96- < div className = "md :ml-4 md:flex-1 md:text-right" >
96+ < div className = "lg :ml-4 md:flex-1 md:text-right" >
9797 < DurationPills handleChange = { setChartDuration } value = { chartDuration } />
9898 </ div >
9999 </ CardTitle >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export const RecentBlocksCard: FC = () => {
2121 const { t } = useTranslation ( )
2222
2323 return (
24- < Card variant = "layout" >
24+ < Card variant = "layout" className = "min-w-0 flex-1" >
2525 < CardHeader >
2626 < CardTitle >
2727 < Typography variant = "h3" className = "text-lg" >
You can’t perform that action at this time.
0 commit comments