From 791687a24a704db7945c67cf58ec75bed3fc6bb4 Mon Sep 17 00:00:00 2001 From: Augusto dos Anjos Almeida Date: Thu, 23 Apr 2015 09:52:23 -0300 Subject: [PATCH] Bugfix in select proposal. --- index.html | 2 +- sass/_proposal_detail.scss | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 7f30d89..cfffcca 100644 --- a/index.html +++ b/index.html @@ -73,7 +73,7 @@ {{#each article.children}}
-
    +
      {{#each categories}}
    • {{#link name id}}{{/link}} diff --git a/sass/_proposal_detail.scss b/sass/_proposal_detail.scss index 7d415ac..104ac4e 100644 --- a/sass/_proposal_detail.scss +++ b/sass/_proposal_detail.scss @@ -1,9 +1,5 @@ .proposal-detail { li { - list-style: none; - width: 70%; - padding: 0; - height: 50px; a { text-decoration: none; text-transform: uppercase; @@ -88,6 +84,17 @@ @each $category, $color in $categories { .#{$category}{ + .select { + li { + background: $color; + list-style: none; + padding: 0; + a { + min-width: 0; + width: auto; + } + } + } .results-container { &:before { content:""; @@ -540,7 +547,7 @@ padding: 20px 0 !important; span { text-align: center !important; - margin: 0 10px !important; + margin: 0 20px !important; display: block !important; padding: 0 !important; line-height: 1.2 !important; -- libgit2 0.21.2