livechat 0.6.5 → 0.6.6

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: 5bcd5b886e8241ac0969dfe00c979bf0f8c8b375bdac9776f20173fae827d737
4
- data.tar.gz: e3df3bd597b8d94b86099071fefcfa33e7a961df125bb0f5fc202efec608c457
3
+ metadata.gz: 1a69e5d589f17c732b4c31e2573167f337953219ef85e4cada2b0bb4167e3eab
4
+ data.tar.gz: 574dec08ba995fb9eb316cd8d2746f37cb09183044a835e4865220d57bf73661
5
5
  SHA512:
6
- metadata.gz: e1d5122996fc4e272fa4a902638b079999c75022465d0ff67db7d628f01cf730187097050bcc2c4c74fe5e2d9e42cdc2707686d811f862e482b18a8ffcac08fa
7
- data.tar.gz: 5ccc1ee55482383f9e9b3c8b81bfad53f2aac99fdf85cb457e0883c457de208178087abd3d08b1c8736f52c7465464dba5e79e88811acb9344578029d260b935
6
+ metadata.gz: 2ab3f33529a53f00312ba82d2e6aeef89e7b6f29903ec124e6f931f16871b34a35bd075a723db2eb7cf78e742bb9fec6bfc19dbaf7785dfa2750584e44ab082b
7
+ data.tar.gz: e5c98f7e43ad6d7628e1ad2b78e5cd3fbefdcb09a4bec1b040db901ef594c17446ccfe9c920989730069e745a182bf3bc5d305da8c097e734a037de5b913378c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.6
4
+
5
+ - Expanded the desktop visitor widget into a taller, wider panel with equal
6
+ viewport padding above and below, while preserving the existing full-screen
7
+ mobile chat behavior.
8
+
3
9
  ## 0.6.5
4
10
 
5
11
  - Added `mount_livechat at: "/livechat"` as the install-time route helper,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Livechat
4
- VERSION = '0.6.5'
4
+ VERSION = '0.6.6'
5
5
  end
@@ -1230,8 +1230,8 @@
1230
1230
  "#lvc-root #lvc-expand:hover{background:rgba(255,255,255,.15);opacity:1}" +
1231
1231
  // Desktop only: a roomier panel for long threads and image-heavy chats.
1232
1232
  // Guarded by min-width so it can never shrink the full-screen mobile panel.
1233
- "@media(min-width:481px){#lvc-root.lvc-expanded #lvc-panel{width:min(460px,92vw);" +
1234
- "height:min(680px,88dvh);max-height:88dvh}}" +
1233
+ "@media(min-width:481px){#lvc-root.lvc-expanded #lvc-panel{top:20px;bottom:20px;" +
1234
+ "width:min(520px,calc(100vw - 40px));height:auto;max-height:none}}" +
1235
1235
  // min-height:0 lets this flex child actually scroll within the panel
1236
1236
  // instead of overflowing it (the classic flexbox scroll gotcha).
1237
1237
  "#lvc-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;" +
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livechat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shmarov