Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: proposals CSS #8123

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/desktop/components/ProposalQuestion.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
cursor-pointer dark:border-transparent dark:bg-gray-850"
class:animate-pulse={isLoading}
>
<button on:click={() => onQuestionClick(questionIndex)} class="flex justify-between items-center">
<button on:click={() => onQuestionClick(questionIndex)} class="flex justify-between items-center text-left">

Check warning on line 56 in packages/desktop/components/ProposalQuestion.svelte

View workflow job for this annotation

GitHub Actions / lint

Missing return type on function
<div class="flex flex-col min-w-0">
{#if questionIndex !== undefined}
<Text smaller fontWeight={FontWeight.bold} overrideColor classes="mb-1 text-blue-500">
Expand Down Expand Up @@ -95,7 +95,7 @@
isWinner={answerIndex === winnerAnswerIndex}
proposalStatus={$selectedProposal?.status}
truncate={!isOpened}
onAnswerClick={() => onAnswerClick(answer.value, questionIndex)}

Check warning on line 98 in packages/desktop/components/ProposalQuestion.svelte

View workflow job for this annotation

GitHub Actions / lint

Missing return type on function
/>
{/each}
</proposal-answers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
</div>
<div class="w-3/5">
<Pane height={Height.Full}>
<div class="flex flex-col justify-between">
<div class="flex flex-col justify-between flex-1 space-y-4 scrollable-y max-h-full">
<proposal-questions
class="relative flex flex-1 flex-col space-y-5 overflow-y-scroll"
bind:this={proposalQuestions}
Expand Down
Loading