metanorma-jis 0.5.9 → 0.6.0

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: 6a97d43bcc7cfe72372d3ba002193451b0702bddd5ff2a5c7dee75a5a7c61085
4
+ data.tar.gz: 340ccc61aca2bd7ecac371b64e9a7dcf87ea5bf0f6bbb8ef9606240a1fae6e73
5
5
  SHA512:
6
- metadata.gz: 73ba9ff723d68c1e5305873a271005f0c7c58587d113e19dfccd3b2a40ffe7218be6bb7e65bc0114c43409be2e92725053f4ed4378a7fff46c718481a80f6876
7
- data.tar.gz: e6589931e169352b16248fba67df18378c86749d9f7892bbce4650cca1c5ea28b73aa616eed6cfedfd2bb148d1d11bad7fbe947bb0ef213cc039a230f2a8f683
6
+ metadata.gz: 19f570ff8e6d5b5eef3efe3bf8c7ffe4798eb6fa3d65ab7e868c3f46bab997c647e96825cd1e107d8c6db631d64807fc5f57b75432e5c3809720d1a4d88920cc
7
+ data.tar.gz: 6c363bc9e2a13c536de107822eae3b623bf00987fa7b6697011c5147bb1b3b0e32fed170d984b3e316efed2ef2cbaba901e90f5c14727036a16a5c52ffc2ff87
@@ -76,24 +76,10 @@ module IsoDoc
76
76
  )
77
77
  end
78
78
 
79
- def table_note_cleanup(docxml)
80
- tn = ::IsoDoc::Function::Cleanup::TABLENOTE_CSS
81
- docxml.xpath("//table[dl or #{tn} or p[@class = 'dl']]").each do |t|
82
- tfoot = table_get_or_make_tfoot(t)
83
- insert_here = new_fullcolspan_row(t, tfoot)
84
- t.xpath("dl | p[@class = 'ListTitle'] | #{tn} | " \
85
- "p[@class = 'dl']")
86
- .each do |d|
87
- d.parent = insert_here
88
- end
89
- end
90
- end
91
-
92
79
  # table name footnote is formatted like other footnotes, since table name
93
80
  # is a table row.
94
81
  def footnote_parse(node, out)
95
- return table_footnote_parse(node, out) if @in_table
96
-
82
+ @in_table and return table_footnote_parse(node, out)
97
83
  super
98
84
  end
99
85
  end
@@ -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 {