diff --git a/app/components/contributor-list/template.hbs b/app/components/contributor-list/template.hbs index 6d6f80f..86062ac 100644 --- a/app/components/contributor-list/template.hbs +++ b/app/components/contributor-list/template.hbs @@ -12,14 +12,12 @@ -
-
Ethereum address
-
{{contributor.address}}
+
+ {{/each}} diff --git a/app/components/proposal-list/template.hbs b/app/components/proposal-list/template.hbs index 0418dfb..a41518f 100644 --- a/app/components/proposal-list/template.hbs +++ b/app/components/proposal-list/template.hbs @@ -1,9 +1,8 @@ {{#each proposals as |proposal|}}
  • #{{proposal.id}} - Issue{{#if proposal.executed}}d{{/if}} {{proposal.amount}}₭S - to {{proposal.recipientName}} + for {{proposal.recipientName}} ({{proposal.votesCount}}/{{proposal.votesNeeded}} votes) {{#unless proposal.executed}}{{/unless}} diff --git a/app/styles/components/_contributor-list.scss b/app/styles/components/_contributor-list.scss index 63554e9..49e24f9 100644 --- a/app/styles/components/_contributor-list.scss +++ b/app/styles/components/_contributor-list.scss @@ -15,10 +15,10 @@ table.contributor-list { &.metadata { height: 0; + transition: all 0.2s ease-out; td { padding: 0 1.2rem; - transition: all 0.2s ease-out; } a { @@ -28,41 +28,27 @@ table.contributor-list { } } - dl { + ul { + list-style: none; display: block; - width: 100%; - font-size: 1rem; - dt, dd { - display: inline-block; - overflow: hidden; - height: 0; - line-height: 1.6rem; - transition: all 0.2s ease-out; - } - dt { - clear: both; - float: left; - width: 30%; - } - dd { - float: right; - width: 70%; - text-align: right; - } - } + overflow: hidden; + height: 0; + transition: all 0.2s ease-out; - &.visible { - td { - padding: 1rem 1.2rem; - } - - dl { - dt, dd { - height: auto; + li { + display: inline; + &+li { + margin-left: 1rem; } } } + &.visible { + height: auto; + ul { + height: auto; + } + } } td { diff --git a/app/styles/components/_proposal-list.scss b/app/styles/components/_proposal-list.scss index 8c7a1aa..72e231e 100644 --- a/app/styles/components/_proposal-list.scss +++ b/app/styles/components/_proposal-list.scss @@ -32,7 +32,7 @@ ul.proposal-list { .votes { font-size: 1rem; color: lightblue; - padding-left: 1rem; + padding-left: 0.5rem; } button {