blob: 3de1f99b4e9107580b278f83bb59d35312ffcdcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mixin backdrop
-
let classes = {
'o-backdrop': true,
'u-p-relative': true,
'o-backdrop--center': attributes.center
}
if (attributes.class) {
classes[attributes.class] = true;
}
div(class=classes, style={ width: '100%', 'min-height': '5em', 'max-height': '40em' })
block
|