import ods/xls en + de csv
fix modal behavior on close, fine tune import file modal
This commit is contained in:
@@ -244,7 +244,7 @@ export default function PublicVotePage() {
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex items-center space-x-4">
|
||||
<div>
|
||||
<h1 className="text-lg font-semibold text-gray-900">Vote - {campaign?.title}</h1>
|
||||
<h1 className="text-lg font-semibold text-gray-900">{campaign?.title}</h1>
|
||||
<p className="text-lg font-bold text-indigo-600">
|
||||
{participant?.first_name} {participant?.last_name}
|
||||
</p>
|
||||
@@ -287,7 +287,7 @@ export default function PublicVotePage() {
|
||||
<div className="grid grid-cols-1 md:grid-cols-1 gap-6">
|
||||
<div>
|
||||
<h3 className="text-sm font-medium text-gray-500">Description</h3>
|
||||
<p className="mt-1 text-sm text-gray-900">{campaign?.description}</p>
|
||||
<p className="mt-1 text-sm text-gray-900 whitespace-pre-wrap">{campaign?.description}</p>
|
||||
{isRandomOrder && (
|
||||
<div className="mt-3 p-2 bg-blue-50 border border-blue-200 rounded-md">
|
||||
<p className="text-xs text-blue-700 flex items-center gap-1">
|
||||
@@ -319,7 +319,7 @@ export default function PublicVotePage() {
|
||||
<h3 className="text-lg font-medium text-gray-900 mb-2">
|
||||
{proposition.title}
|
||||
</h3>
|
||||
<p className="text-sm text-gray-600 mb-4">
|
||||
<p className="text-sm text-gray-600 mb-4 whitespace-pre-wrap">
|
||||
{proposition.description}
|
||||
</p>
|
||||
</div>
|
||||
@@ -359,7 +359,7 @@ export default function PublicVotePage() {
|
||||
const position = ((index + 1) / spendingTiers.length) * 100;
|
||||
return (
|
||||
<div
|
||||
key={tier}
|
||||
key={`tier-${index}-${tier}`}
|
||||
className="absolute text-center"
|
||||
style={{
|
||||
left: `${position}%`,
|
||||
|
||||
Reference in New Issue
Block a user