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

enhancement: minor css adjustments in governance #8163

Merged
merged 1 commit into from
Mar 7, 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
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
Loading