White space tweaks for cards

pull/376/head
katibest 7 years ago committed by Stamates
parent 285d3ce265
commit ab66840113
  1. 6
      apps/explorer_web/assets/css/_typography.scss
  2. 6
      apps/explorer_web/assets/css/components/_card.scss
  3. 4
      apps/explorer_web/lib/explorer_web/templates/address/overview.html.eex

@ -4,13 +4,13 @@ body {
}
h1 {
font-size: 18px;
font-weight: 400;
font-size: 26px;
font-weight: 200;
}
h2 {
font-size: 18px;
font-weight: 400;
font-weight: 200;
}
h3 {

@ -15,5 +15,9 @@
.card-title {
line-height: 2.2rem;
margin-bottom: 1rem;
margin-bottom: 2rem;
}
.card-body {
padding: 2.25rem 1.25rem;
}

@ -26,7 +26,7 @@
<div class="col-md-3">
<div class="card bg-primary">
<div class="card-body">
<h1 class="card-title text-white">Balance</h1>
<h2 class="card-title text-white">Balance</h2>
<span></span>
<div class="text-right">
<h3 class="text-white"><%= balance(@address) %></h3>
@ -38,7 +38,7 @@
<div class="col-md-3">
<div class="card">
<div class="card-body">
<h1 class="card-title">Token Holdings</h1>
<h2 class="card-title">Token Holdings</h2>
<div class="text-right mb-4">
<h3><%= formatted_usd(@address, @exchange_rate) %></h3>
</div>

Loading…
Cancel
Save