fix padding for dropdown claims

This commit is contained in:
Rob Culliton 2018-04-16 11:00:20 -04:00 committed by Tetiana Churikova
parent 82c2b6be47
commit 7d6ed779b8
2 changed files with 6 additions and 7 deletions

View File

@ -13,7 +13,7 @@
[commiteth.util :as util])) [commiteth.util :as util]))
(defn display-bounty-claims [claims] (defn display-bounty-claims [claims]
[:div.bounty-claims-container.pv3 [:div.bounty-claims-container.ph4.pv3
(for [claim claims] (for [claim claims]
(let [{:keys [avatar-url (let [{:keys [avatar-url
pr-title pr-title
@ -65,7 +65,7 @@
close-claims-click #(rf/dispatch [::handlers/close-bounty-claim issue-id]) close-claims-click #(rf/dispatch [::handlers/close-bounty-claim issue-id])
matches-current-issue? (some #{issue-id} @open-bounty-claims)] matches-current-issue? (some #{issue-id} @open-bounty-claims)]
[:div [:div
[:div.open-bounty-item [:div.open-bounty-item.ph4
[:div.open-bounty-item-content [:div.open-bounty-item-content
[:div.header issue-link] [:div.header issue-link]
[:div.bounty-item-row [:div.bounty-item-row
@ -254,7 +254,7 @@
[:div [:div
(let [left (inc (* (dec page-number) items-per-page)) (let [left (inc (* (dec page-number) items-per-page))
right (dec (+ left item-count))] right (dec (+ left item-count))]
[:div.item-counts-label-and-sorting-container [:div.item-counts-label-and-sorting-container.ph4
[:div.item-counts-label [:div.item-counts-label
[:span (str "Showing " left "-" right " of " total-count)]] [:span (str "Showing " left "-" right " of " total-count)]]
[bounties-sort-view]]) [bounties-sort-view]])
@ -269,9 +269,9 @@
[:div.view-loading-container [:div.view-loading-container
[:div.ui.active.inverted.dimmer [:div.ui.active.inverted.dimmer
[:div.ui.text.loader.view-loading-label "Loading"]]] [:div.ui.text.loader.view-loading-label "Loading"]]]
[:div.ui.container.open-bounties-container [:div.ui.container.open-bounties-container.
{:ref #(reset! container-element %1)} {:ref #(reset! container-element %1)}
[:div.open-bounties-header "Bounties"] [:div.open-bounties-header.ph4.pt4 "Bounties"]
[:div.open-bounties-filter-and-sort [:div.open-bounties-filter-and-sort.ph4
[bounty-filters-view]] [bounty-filters-view]]
[bounties-list @bounty-page-data container-element]])))) [bounties-list @bounty-page-data container-element]]))))

View File

@ -415,7 +415,6 @@ label[for="input-hidden"] {
background-color: #fff; background-color: #fff;
border-radius: 10px; border-radius: 10px;
transform: translateY(-45px); transform: translateY(-45px);
padding: 24px;
.open-bounties-header { .open-bounties-header {
font-family: "PostGrotesk-Medium"; font-family: "PostGrotesk-Medium";
font-size: 21px; font-size: 21px;