summaryrefslogtreecommitdiffstats
path: root/tpl/objects/popover.pug
blob: ba93a81a8fc8a4417d03edc91f00a0bd7be68211 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
mixin popover
    -
        let classes = {
            'o-popover': true,
            'u-p-static': true,
        }
        if (attributes.class) {
            classes[attributes.class] = true;
        }

    div(class=classes, style=styles)
        block