Commit 791687a24a704db7945c67cf58ec75bed3fc6bb4

Authored by Augusto dos Anjos Almeida
1 parent f8b468b8

Bugfix in select proposal.

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