Break words in questions
This commit is contained in:
parent
95fbfb7db0
commit
4917d4084b
|
@ -47,7 +47,12 @@ export function ContractCard(props: {
|
|||
<Spacer h={3} />
|
||||
|
||||
<Row className="justify-between gap-4">
|
||||
<p className="font-medium text-indigo-700">{question}</p>
|
||||
<p
|
||||
className="font-medium text-indigo-700 break-words"
|
||||
style={{ /* For iOS safari */ wordBreak: 'break-word' }}
|
||||
>
|
||||
{question}
|
||||
</p>
|
||||
<ResolutionOrChance className="items-center" contract={contract} />
|
||||
</Row>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,10 @@ export const SiteLink = (props: {
|
|||
<a
|
||||
href={href}
|
||||
className={clsx(
|
||||
'z-10 hover:underline hover:decoration-indigo-400 hover:decoration-2',
|
||||
'break-words z-10 hover:underline hover:decoration-indigo-400 hover:decoration-2',
|
||||
className
|
||||
)}
|
||||
style={{ /* For iOS safari */ wordBreak: 'break-word' }}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{children}
|
||||
|
@ -23,9 +24,10 @@ export const SiteLink = (props: {
|
|||
<Link href={href}>
|
||||
<a
|
||||
className={clsx(
|
||||
'z-10 hover:underline hover:decoration-indigo-400 hover:decoration-2',
|
||||
'break-words z-10 hover:underline hover:decoration-indigo-400 hover:decoration-2',
|
||||
className
|
||||
)}
|
||||
style={{ /* For iOS safari */ wordBreak: 'break-word' }}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{children}
|
||||
|
|
Loading…
Reference in New Issue
Block a user