Fix duplicate className TS errors in PartnersSection and RiskSection

This commit is contained in:
alireza 2026-06-01 10:41:59 +03:30
parent 9e9dd96114
commit c1f9563303
2 changed files with 2 additions and 4 deletions

View File

@ -117,7 +117,7 @@ export default function PartnersSection() {
> >
<div className="max-w-7xl mx-auto px-12 pt-24 pb-20 max-md:px-5 max-md:pt-16 max-md:pb-14"> <div className="max-w-7xl mx-auto px-12 pt-24 pb-20 max-md:px-5 max-md:pt-16 max-md:pb-14">
<div <div
className="max-md:grid-cols-1" className="mq-stack max-md:grid-cols-1 max-md:gap-4"
style={{ style={{
display: 'grid', display: 'grid',
gridTemplateColumns: '1fr auto', gridTemplateColumns: '1fr auto',
@ -127,7 +127,6 @@ export default function PartnersSection() {
borderBottom: '1px solid var(--rule-thin)', borderBottom: '1px solid var(--rule-thin)',
marginBottom: 48, marginBottom: 48,
}} }}
className="mq-stack max-md:grid-cols-1 max-md:gap-4"
> >
<div> <div>
<div <div

View File

@ -189,7 +189,7 @@ export default function RiskSection() {
{/* ── Editorial header ── */} {/* ── Editorial header ── */}
<div className="max-w-7xl mx-auto px-12 pt-24 max-md:px-5 max-md:pt-16"> <div className="max-w-7xl mx-auto px-12 pt-24 max-md:px-5 max-md:pt-16">
<div <div
className="max-md:grid-cols-1" className="mq-stack max-md:grid-cols-1 max-md:gap-4"
style={{ style={{
display: 'grid', display: 'grid',
gridTemplateColumns: '1fr auto', gridTemplateColumns: '1fr auto',
@ -199,7 +199,6 @@ export default function RiskSection() {
borderBottom: '1px solid var(--rule-thin)', borderBottom: '1px solid var(--rule-thin)',
marginBottom: 28, marginBottom: 28,
}} }}
className="mq-stack max-md:grid-cols-1 max-md:gap-4"
> >
<div> <div>
<div style={{ display: 'flex', alignItems: 'center', gap: 12, marginBottom: 18 }}> <div style={{ display: 'flex', alignItems: 'center', gap: 12, marginBottom: 18 }}>