Commit 791687a24a704db7945c67cf58ec75bed3fc6bb4
1 parent
f8b468b8
Exists in
master
and in
10 other branches
Bugfix in select proposal.
Showing
2 changed files
with
13 additions
and
6 deletions
Show diff stats
index.html
| @@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
| 73 | {{#each article.children}} | 73 | {{#each article.children}} |
| 74 | <div class='proposal-detail hide' id="proposal-item-{{id}}"> | 74 | <div class='proposal-detail hide' id="proposal-item-{{id}}"> |
| 75 | <div class='categories {{#each categories}}{{slug}} {{/each}}'> | 75 | <div class='categories {{#each categories}}{{slug}} {{/each}}'> |
| 76 | - <ul> | 76 | + <ul class="select"> |
| 77 | {{#each categories}} | 77 | {{#each categories}} |
| 78 | <li class='category proposal-category' data-category="{{slug}}"> | 78 | <li class='category proposal-category' data-category="{{slug}}"> |
| 79 | {{#link name id}}{{/link}} | 79 | {{#link name id}}{{/link}} |
sass/_proposal_detail.scss
| 1 | .proposal-detail { | 1 | .proposal-detail { |
| 2 | li { | 2 | li { |
| 3 | - list-style: none; | ||
| 4 | - width: 70%; | ||
| 5 | - padding: 0; | ||
| 6 | - height: 50px; | ||
| 7 | a { | 3 | a { |
| 8 | text-decoration: none; | 4 | text-decoration: none; |
| 9 | text-transform: uppercase; | 5 | text-transform: uppercase; |
| @@ -88,6 +84,17 @@ | @@ -88,6 +84,17 @@ | ||
| 88 | 84 | ||
| 89 | @each $category, $color in $categories { | 85 | @each $category, $color in $categories { |
| 90 | .#{$category}{ | 86 | .#{$category}{ |
| 87 | + .select { | ||
| 88 | + li { | ||
| 89 | + background: $color; | ||
| 90 | + list-style: none; | ||
| 91 | + padding: 0; | ||
| 92 | + a { | ||
| 93 | + min-width: 0; | ||
| 94 | + width: auto; | ||
| 95 | + } | ||
| 96 | + } | ||
| 97 | + } | ||
| 91 | .results-container { | 98 | .results-container { |
| 92 | &:before { | 99 | &:before { |
| 93 | content:""; | 100 | content:""; |
| @@ -540,7 +547,7 @@ | @@ -540,7 +547,7 @@ | ||
| 540 | padding: 20px 0 !important; | 547 | padding: 20px 0 !important; |
| 541 | span { | 548 | span { |
| 542 | text-align: center !important; | 549 | text-align: center !important; |
| 543 | - margin: 0 10px !important; | 550 | + margin: 0 20px !important; |
| 544 | display: block !important; | 551 | display: block !important; |
| 545 | padding: 0 !important; | 552 | padding: 0 !important; |
| 546 | line-height: 1.2 !important; | 553 | line-height: 1.2 !important; |