forked from HEL/chronos
		
	added max-width param to _col
This commit is contained in:
		@@ -218,10 +218,13 @@
 | 
			
		||||
      if elmt.width != auto {
 | 
			
		||||
        widths.at(i) = normalize-units(elmt.width)
 | 
			
		||||
      }
 | 
			
		||||
      widths.at(i) = calc.max(
 | 
			
		||||
        widths.at(i),
 | 
			
		||||
        normalize-units(elmt.min-width)
 | 
			
		||||
      ) + normalize-units(elmt.margin)
 | 
			
		||||
 | 
			
		||||
      let width = widths.at(i)
 | 
			
		||||
      width = calc.max(width, normalize-units(elmt.min-width))
 | 
			
		||||
      if elmt.max-width != none {
 | 
			
		||||
        width = calc.min(width, normalize-units(elmt.max-width))
 | 
			
		||||
      }
 | 
			
		||||
      widths.at(i) = width + normalize-units(elmt.margin)
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user