metanorma-bipm 2.6.8 → 2.6.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.
@@ -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 {
@@ -6,14 +6,14 @@ require_relative "base_convert"
6
6
  module IsoDoc
7
7
  module Bipm
8
8
  class HtmlConvert < IsoDoc::Generic::HtmlConvert
9
- def doccontrol(elem, out)
10
- out.div **attr_code(class: "doccontrol") do |div|
11
- clause_parse_title(elem, div, elem.at(ns("./fmt-title")), out)
12
- elem.children.reject { |c1| c1.name == "fmt-title" }.each do |c1|
13
- parse(c1, div)
14
- end
15
- end
16
- end
9
+ #def doccontrol(elem, out)
10
+ #out.div **attr_code(class: "doccontrol") do |div|
11
+ #clause_parse_title(elem, div, elem.at(ns("./fmt-title")), out)
12
+ #elem.children.reject { |c1| c1.name == "fmt-title" }.each do |c1|
13
+ #parse(c1, div)
14
+ #end
15
+ #end
16
+ #end
17
17
 
18
18
  def counter_reset(node)
19
19
  s = node["start"]