Skip to content
Snippets Groups Projects
Commit 5d2699f5 authored by alexisben's avatar alexisben
Browse files

fix bodyclass

parent 3949a32a
No related branches found
No related tags found
No related merge requests found
......@@ -130,9 +130,9 @@
$width: calc( (100% + #{$grid-gutter}) / 12 * #{$quantity-on-base} + #{$grid-gutter})
@return #{$width}
@function col-outside-container($quantity)
@function col-outside-container($quantity, $base: 12)
$responsive-grid-width: Min(100vw, (#{$grid-max-width}))
@return calc((#{$responsive-grid-width} + #{$grid-gutter} * 2) / 12 * #{$quantity} - #{$grid-gutter} * 2)
@return calc((#{$responsive-grid-width} + #{$grid-gutter} * 2) / #{$base} * #{$quantity} - #{$grid-gutter} * 2)
@mixin container-margin-left
margin-left: Max(#{$grid-gutter}, calc(50vw - #{$grid-max-width} / 2 + #{$grid-gutter}))
......
......@@ -4,7 +4,7 @@
{{- $bodyclass = printf "page-%s" $bodyclass -}}
{{- end -}}
{{- if or .Params.full_width (and (eq .Kind "section") (eq .Type "posts")) (not .Params.diplomas) -}}
{{- if or .Params.full_width (and (eq .Kind "section") (eq .Type "posts")) (and (or (eq .Type "programs") (eq .Type "diplomas") ) (not .Params.diplomas)) -}}
{{- $bodyclass = printf "full-width %s" $bodyclass -}}
{{- end -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment