Skip to content

Commit 0cb9628

Browse files
hotfix: proposals CSS (#8123)
* hotfix: add scroll to proposals CSS * enhancement: align text to left in proposals
1 parent 1a23cfb commit 0cb9628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/desktop/components/ProposalQuestion.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
cursor-pointer dark:border-transparent dark:bg-gray-850"
5454
class:animate-pulse={isLoading}
5555
>
56-
<button on:click={() => onQuestionClick(questionIndex)} class="flex justify-between items-center">
56+
<button on:click={() => onQuestionClick(questionIndex)} class="flex justify-between items-center text-left">
5757
<div class="flex flex-col min-w-0">
5858
{#if questionIndex !== undefined}
5959
<Text smaller fontWeight={FontWeight.bold} overrideColor classes="mb-1 text-blue-500">

packages/desktop/views/dashboard/governance/views/ProposalDetailsView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
</div>
255255
<div class="w-3/5">
256256
<Pane height={Height.Full}>
257-
<div class="flex flex-col justify-between">
257+
<div class="flex flex-col justify-between flex-1 space-y-4 scrollable-y max-h-full">
258258
<proposal-questions
259259
class="relative flex flex-1 flex-col space-y-5 overflow-y-scroll"
260260
bind:this={proposalQuestions}

0 commit comments

Comments
 (0)