pandorga 2.2.0 → 2.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: df6a05990dd61bd1ec65a55988e6ff3c905dac4368c1205bb963b261440adf2c
4
- data.tar.gz: 4f28891d107c9dd8b19afdef872ae025f82f9106369477214d07ff10576b22a5
3
+ metadata.gz: bdca930c9b02c613c56ae43729fde7ce8e4d318ff89b47c056e8ffcbd48c6da5
4
+ data.tar.gz: 735a68fe34de01172836b0a268225fcc1d18c665915cef4d446892e142b6bb43
5
5
  SHA512:
6
- metadata.gz: 755cc712729fdde1c7c04fa76ce617b4045dd0da9e73e88c8aa945e823c5db21e1c8da95c9b2240cb46d28328ecf25bf9d37fc129317715e13ed52c111188131
7
- data.tar.gz: fc897b6820e06bf5b87bed93001605b5ac744025564427ad1b4cb9637d0ff9b9002d6a67e136f56363b762422bf5cb25017145f7226c31ea9c5309ccdd739e9d
6
+ metadata.gz: 06fef7f791b5160438e2b6665841c8ca94aab86bfb4d5def3d080ae96ef7c1a3d74809339b8b7409d48bb861320b11c86072b904ad1aa5cf873106f7de5e88a8
7
+ data.tar.gz: 6bc233049c22268632a9ca0858823676c65b138d1f61a837fa323c42fbb66365750bd80f0726007f9bf2cc5994bbfa3c7e91de1c35bec69eed132c578f459779
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.2.1] — 2026-10-28
6
+
7
+ ### Fixed
8
+
9
+ - CR-18: Mobile article/post detail meta restores `flex-wrap: wrap` so action buttons (Back, Share, Cite, reading size) wrap to the next row when dates and actions cannot share one line, preventing button crushing and clipping on narrow screens (regression from 2.1.0) (PLT-AC-67).
10
+
5
11
  ## [2.2.0] — 2026-10-28
6
12
 
7
13
  ### Added
@@ -1233,11 +1233,11 @@ nav.text-page-nav:not(:has(a)) {
1233
1233
  padding-bottom: var(--space-md);
1234
1234
  }
1235
1235
 
1236
- /* On mobile, date row and action buttons share one compact horizontal band on one non-wrapping row. */
1236
+ /* On mobile, date row and action buttons share one compact horizontal band. */
1237
1237
  .text-detail-sidebar .article-meta {
1238
1238
  display: flex;
1239
1239
  flex-direction: row;
1240
- flex-wrap: nowrap;
1240
+ flex-wrap: wrap;
1241
1241
  align-items: center;
1242
1242
  justify-content: space-between;
1243
1243
  gap: var(--space-xs) var(--space-sm);
@@ -24,7 +24,7 @@ module Pandorga
24
24
 
25
25
  gem "pandorga", "~> 2.0"
26
26
  # Local checkout: gem "pandorga", path: "../pandorga"
27
- # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.2.0"
27
+ # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.2.1"
28
28
  gem "csv"
29
29
  gem "base64"
30
30
  RUBY
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pandorga
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
@@ -91,6 +91,18 @@ unless has_row_layout
91
91
  fail!("detail.css must set flex-direction: row on .text-detail-sidebar .article-meta under @media (max-width: 767px)")
92
92
  end
93
93
 
94
+ has_wrap_layout = meta_mobile_rules.any? do |r|
95
+ r[:decls].any? { |p, v| p == "flex-wrap" && v == "wrap" }
96
+ end
97
+
98
+ has_nowrap = meta_mobile_rules.any? do |r|
99
+ r[:decls].any? { |p, v| p == "flex-wrap" && v == "nowrap" }
100
+ end
101
+
102
+ unless has_wrap_layout && !has_nowrap
103
+ fail!("detail.css must set flex-wrap: wrap (and not nowrap) on .text-detail-sidebar .article-meta under @media (max-width: 767px)")
104
+ end
105
+
94
106
  toc_disclosure_mobile = detail_rules.select do |r|
95
107
  r[:media] && r[:media].include?("max-width:767px") && r[:sel].include?("article-toc--disclosure")
96
108
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandorga
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Pandorga contributors