capydash 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8120c468fac1e4d0e67b3190f2fd3905bf047a1628f66232cedbc3085e0af2f5
4
- data.tar.gz: ea62c0dd462b95ad7a2405f0f139b9c9f3d5f3bfa0c9315b93e70ee39df094e0
3
+ metadata.gz: af3047672b2118bbe6b3eb83ae3d9149c96d4811d11cd6e66927bfb8acb88d02
4
+ data.tar.gz: 25ab89fd8389339c24c4dc1d64d163d41331aed4f2aca9b268ddbcbcb96f8165
5
5
  SHA512:
6
- metadata.gz: 0b2cbd4509f3dc292b2dc3873ae74e03fa3315cf850cd9bc10dbddfe63926c4cd03f1003fa728b527a3f48906149375709d432b347b774366607114209ec58a8
7
- data.tar.gz: ec5f1fb549172b312df50562c60c3e40a641518acd2f2e86e8288882a6c17820d4550cfe5824188ed50ea59567758a7af085010156ebec8b5806fb117e46ac74
6
+ metadata.gz: f38f1587dcd12372431b5d5e39812a64aef58a1f5eff522a492ce85efd9317e97789d42195e96f682bf51aaced8e56ae99f6548611b6bbc885e56e91514c1edf
7
+ data.tar.gz: 05b0a7453cfb5667bbdbb895685f3638e5d3b93df6a8dae0868b794bdd6e02222abd4947561a438f0b4702fff6bf5d1ac1eb94c22f962f3b0dc3ee64bcf52d9e
@@ -334,26 +334,31 @@ module CapyDash
334
334
  }
335
335
 
336
336
  .method-status {
337
- padding: 0.25rem 0.75rem;
337
+ display: inline-flex;
338
+ align-items: center;
339
+ padding: 0.35rem 0.85rem;
338
340
  border-radius: 4px;
339
341
  font-size: 0.75rem;
340
342
  font-weight: 600;
341
343
  text-transform: uppercase;
342
344
  letter-spacing: 0.5px;
345
+ white-space: nowrap;
346
+ min-width: 60px;
347
+ justify-content: center;
343
348
  }
344
349
 
345
350
  .method-status-passed {
346
- background: #27ae60;
351
+ background-color: #27ae60;
347
352
  color: white;
348
353
  }
349
354
 
350
355
  .method-status-failed {
351
- background: #e74c3c;
356
+ background-color: #e74c3c;
352
357
  color: white;
353
358
  }
354
359
 
355
360
  .method-status-pending {
356
- background: #f39c12;
361
+ background-color: #f39c12;
357
362
  color: white;
358
363
  }
359
364
 
@@ -44,7 +44,9 @@
44
44
  <span class="expand-icon">▶</span>
45
45
  </button>
46
46
  <h3><%= method[:name] %></h3>
47
- <span class="method-status method-status-<%= method[:status] %>"><%= method[:status] %></span>
47
+ <% if method[:status] %>
48
+ <span class="method-status method-status-<%= method[:status] %>"><%= method[:status] %></span>
49
+ <% end %>
48
50
  </div>
49
51
  <div class="steps collapsed" id="steps-<%= method[:safe_id] %>">
50
52
  <% method[:steps].each do |step| %>
@@ -1,3 +1,3 @@
1
1
  module CapyDash
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capydash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damon Clark