rails_tipjar 0.2.0 → 0.2.1

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: b20cb8427d06b557ced9867853f9acd14b7ba74cac80de9207316dd8f6cdb2ee
4
- data.tar.gz: a89f5d9936f3efa1f714df6a56b542988709b8a6e99e96478b1f2f70d4713bfd
3
+ metadata.gz: eb45f6dbcb30df4e79a71f533760d0fa1c5d2a904c0065ae774c675998d19585
4
+ data.tar.gz: c0f1ea549ffb2fb0fbd3f48b36e81621697de38af2e622aa57eaec01d0c61cca
5
5
  SHA512:
6
- metadata.gz: 77a0e7430424741d748ea350bf629c1a92ccbf743649d6f45709e0e9767980a113206f171313a14548813948b992372d22ca57d2081ea92c2b2d4b63d5ff1e1b
7
- data.tar.gz: cad8649848b878a8d26796a4fa29760d51e71ff1576d1bc09128d0de77bc784d65230ecf3830b6315bd864b5e53204e008d6a9335c8e7b2c0f3d78a9181e4aab
6
+ metadata.gz: 6bd013f51e770763b1b6305ee094e42e90359d17306b03a78497996efe34cec2cc5c1c2cf3c12ad4b7f4ab5992cd7fad73f88c9e2f428ad82baf6f8d0434c278
7
+ data.tar.gz: b60050b28b9686dd14e0dba7323cec9eed49b709288a59d6a6f3ffb5b3f6a9827d4a8f818db65958711cf7c2bd11cfdb291af85652854c8304a741a68473c03f
@@ -2,8 +2,9 @@
2
2
  .tipjar-button {
3
3
  display: flex;
4
4
  align-items: center;
5
+ justify-content: center;
5
6
  gap: 0.5rem;
6
- padding: 0.75rem 1rem;
7
+ padding: 0.75rem;
7
8
  background-color: #3b82f6;
8
9
  color: white;
9
10
  border-radius: 9999px;
@@ -14,12 +15,15 @@
14
15
  font-size: 0.875rem;
15
16
  font-weight: 500;
16
17
  animation: tipjar-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
18
+ min-width: 3rem;
19
+ min-height: 3rem;
17
20
  }
18
21
 
19
22
  .tipjar-button:hover {
20
23
  background-color: #2563eb;
21
24
  transform: scale(1.05);
22
25
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
26
+ padding: 0.75rem 1rem;
23
27
  }
24
28
 
25
29
  .tipjar-button:focus {
@@ -172,8 +176,14 @@
172
176
  /* Responsive Design */
173
177
  @media (max-width: 640px) {
174
178
  .tipjar-button {
175
- padding: 0.625rem 0.875rem;
179
+ padding: 0.625rem;
176
180
  font-size: 0.75rem;
181
+ min-width: 2.5rem;
182
+ min-height: 2.5rem;
183
+ }
184
+
185
+ .tipjar-button:hover {
186
+ padding: 0.625rem 0.875rem;
177
187
  }
178
188
 
179
189
  .tipjar-button-icon {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsTipjar
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_tipjar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Paulson