metanorma-jis 0.5.9 → 0.5.10

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: 50ad6e98fa7622bc496adf55515a3b07866d459e8b38dbbd2d1e6def380564d2
4
- data.tar.gz: 56aa7bb2b2bedb7d7fc266782fbf71e543054a423d0531c53e839823ff18c9c6
3
+ metadata.gz: 451bdef7f51c323ac525171c4bf230e1f0c4412545dadab880697e008449233e
4
+ data.tar.gz: 6e13753476ba4444ece60a2be685d1f0bf1aabc49de5870f96b27b4e8d73b53f
5
5
  SHA512:
6
- metadata.gz: 73ba9ff723d68c1e5305873a271005f0c7c58587d113e19dfccd3b2a40ffe7218be6bb7e65bc0114c43409be2e92725053f4ed4378a7fff46c718481a80f6876
7
- data.tar.gz: e6589931e169352b16248fba67df18378c86749d9f7892bbce4650cca1c5ea28b73aa616eed6cfedfd2bb148d1d11bad7fbe947bb0ef213cc039a230f2a8f683
6
+ metadata.gz: 84eabb20505b4eb02cd98e27240ac3f02fcd037a8e4263f5cf66402892d9756406e274ea52d6d5ef7d167614f2bfbf69b35121d55c8b2373a8250a327998cdbf
7
+ data.tar.gz: 0ce15141b2f988b9c5a8c2624853d55781fa0c9a163211e57c0e24aaeb316d2109deeafa2d0de23bddc41db156b6fd46d505cf9d8c1625cd8bdcbaee7d56088a
@@ -76,6 +76,8 @@ module IsoDoc
76
76
  )
77
77
  end
78
78
 
79
+ # TODO: the approach taken in Plateau is more rational,
80
+ # of doing this in Presentation XML
79
81
  def table_note_cleanup(docxml)
80
82
  tn = ::IsoDoc::Function::Cleanup::TABLENOTE_CSS
81
83
  docxml.xpath("//table[dl or #{tn} or p[@class = 'dl']]").each do |t|
@@ -318,9 +318,15 @@ h6:hover > a.anchor,
318
318
  padding: 0;
319
319
  }
320
320
 
321
+ .svg-container {
322
+ width: 100%; /* or any desired width */
323
+ display: block; /* ← removes unwanted inline spacing */
324
+ }
325
+
321
326
  svg {
322
327
  width: 100%;
323
- overflow: visible;
328
+ height: auto; /* ← key to maintaining aspect ratio */
329
+ display: block; /* ← removes unwanted inline spacing */
324
330
  }
325
331
 
326
332
  #standard-band {
@@ -318,9 +318,15 @@ h6:hover > a.anchor,
318
318
  padding: 0;
319
319
  }
320
320
 
321
+ .svg-container {
322
+ width: 100%; /* or any desired width */
323
+ display: block; /* ← removes unwanted inline spacing */
324
+ }
325
+
321
326
  svg {
322
327
  width: 100%;
323
- overflow: visible;
328
+ height: auto; /* ← key to maintaining aspect ratio */
329
+ display: block; /* ← removes unwanted inline spacing */
324
330
  }
325
331
 
326
332
  #standard-band {