@@ -162,7 +162,7 @@ export default function ProposalCard({
162162 href = { `/proposals/${ proposal . id } ` }
163163 className = "block group cursor-pointer"
164164 >
165- < div className = "py-4 px-8 rounded-sm mb-3 bg-background group-hover:bg-black transition-colors duration-300 max-w-full overflow-hidden" >
165+ < div className = "py-4 px-4 sm:px- 8 rounded-sm mb-3 bg-background group-hover:bg-black transition-colors duration-300 max-w-full overflow-hidden" >
166166 { /* Header */ }
167167 < div className = "flex flex-col sm:flex-row items-start sm:items-center justify-between mb-3 sm:mb-4 gap-3" >
168168 < div className = "flex-1 min-w-0" >
@@ -171,7 +171,7 @@ export default function ProposalCard({
171171 ? `#${ proposal . proposal_id } : ${ proposal . title } `
172172 : proposal . title }
173173 </ h3 >
174- < div className = "flex flex-wrap items-center gap-2 mb-2" >
174+ < div className = "flex flex-wrap items-center gap-2 mb-2 overflow-hidden " >
175175 < ProposalStatusBadge
176176 proposal = { proposal }
177177 size = "sm"
@@ -294,7 +294,7 @@ export default function ProposalCard({
294294 </ div >
295295 < span
296296 role = "link"
297- className = "text-sm text-primary hover:text-primary/80 transition-colors break-all cursor-pointer flex items-center gap-2"
297+ className = "text-sm text-primary hover:text-primary/80 transition-colors break-words cursor-pointer flex items-center gap-2"
298298 onClick = { ( e ) => {
299299 e . preventDefault ( ) ;
300300 e . stopPropagation ( ) ;
@@ -305,7 +305,7 @@ export default function ProposalCard({
305305 ) ;
306306 } }
307307 >
308- < span className = "inline-block max-w-full break-all " >
308+ < span className = "inline-block max-w-full break-words " >
309309 { referenceLink }
310310 </ span >
311311 < ExternalLinkIcon className = "h-4 w-4" />
@@ -319,7 +319,7 @@ export default function ProposalCard({
319319 </ div >
320320 < span
321321 role = "link"
322- className = "text-sm text-primary hover:text-primary/80 transition-colors break-all cursor-pointer flex items-center gap-2"
322+ className = "text-sm text-primary hover:text-primary/80 transition-colors break-words cursor-pointer flex items-center gap-2"
323323 onClick = { ( e ) => {
324324 e . preventDefault ( ) ;
325325 e . stopPropagation ( ) ;
@@ -343,7 +343,7 @@ export default function ProposalCard({
343343 d = "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
344344 />
345345 </ svg >
346- < span className = "inline-block max-w-full break-all " >
346+ < span className = "inline-block max-w-full break-words " >
347347 { airdropTxId }
348348 </ span >
349349 </ span >
@@ -383,7 +383,7 @@ export default function ProposalCard({
383383 </ div >
384384
385385 { /* Metadata */ }
386- < div className = "flex flex-wrap items-center gap-2 sm:gap-3 md:gap-4 text-xs text-foreground/75 mb-4" >
386+ < div className = "flex flex-wrap items-center gap-2 sm:gap-3 md:gap-4 text-xs text-foreground/75 mb-4 overflow-hidden " >
387387 { showDAOInfo && (
388388 < div className = "flex items-center gap-1 min-w-0 max-w-[120px] sm:max-w-none" >
389389 < Building2 className = "h-3 w-3 flex-shrink-0" />
0 commit comments