Skip to content

Commit

Permalink
enhancement: minor css adjustments in governance (#8163)
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd authored Mar 7, 2024
1 parent 3c274cd commit 7a81d6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</script>

<Pane height={Height.Fit}>
<Text smaller classes="mb-5">
<Text smaller classes="mb-4">
{localize('views.governance.details.proposalInformation.title')}
</Text>
<ul class="space-y-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
} from '@contexts/governance/utils'
import { openPopup, PopupId } from '@auxiliary/popup'
import { activeProfile } from '@core/profile'
import { TextHintVariant } from 'shared/components/enums'
import { FontWeight, TextHintVariant } from '@ui'
const { metadata } = $visibleSelectedAccountAssets?.[$activeProfile?.network?.id]?.baseCoin ?? {}
Expand Down Expand Up @@ -219,7 +219,7 @@
<ProposalDetailsButton proposal={$selectedProposal} />
</header-container>
<div class="flex flex-1 flex-col space-y-4 justify-between scrollable-y">
<Text type={TextType.h2}>{$selectedProposal?.title}</Text>
<Text type={TextType.h4}>{$selectedProposal?.title}</Text>
{#if $selectedProposal?.additionalInfo}
<MarkdownBlock text={$selectedProposal?.additionalInfo} />
{/if}
Expand All @@ -228,7 +228,7 @@
</Pane>
<Pane height={Height.Fit}>
<div class="shrink-0">
<Text smaller classes="mb-5">
<Text fontWeight={FontWeight.medium} fontSize="12" classes="mb-4">
{localize('views.governance.details.yourVote.title')}
</Text>
<ul class="space-y-2">
Expand All @@ -254,7 +254,7 @@
</div>
<div class="w-3/5">
<Pane height={Height.Full}>
<div class="flex flex-col justify-between flex-1 space-y-4 scrollable-y max-h-full">
<div class="flex flex-col justify-between flex-1 space-y-4 scrollable-y h-full max-h-full">
<proposal-questions
class="relative flex flex-1 flex-col space-y-5 overflow-y-scroll"
bind:this={proposalQuestions}
Expand Down

0 comments on commit 7a81d6c

Please sign in to comment.