diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/bubble.pug | 7 | ||||
-rw-r--r-- | tpl/objects/text-field.pug | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/tpl/objects/bubble.pug b/tpl/objects/bubble.pug index 03fb10d..52f8949 100644 --- a/tpl/objects/bubble.pug +++ b/tpl/objects/bubble.pug | |||
@@ -8,9 +8,10 @@ mixin bubble(user) | |||
8 | block ? block() : undefined | 8 | block ? block() : undefined |
9 | 9 | ||
10 | let classes = { | 10 | let classes = { |
11 | 'o-bubble': true, | 11 | 'o-bubble': true, |
12 | 'o-bubble--75': attributes.compact, | 12 | 'o-bubble--75': attributes.compact, |
13 | 't-raised': !attributes.theme | 13 | 'o-bubble--highlight': attributes.highlight, |
14 | 't-raised': !attributes.theme | ||
14 | } | 15 | } |
15 | if (attributes.class) { | 16 | if (attributes.class) { |
16 | classes[attributes.class] = true | 17 | classes[attributes.class] = true |
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug index d5c4444..895770d 100644 --- a/tpl/objects/text-field.pug +++ b/tpl/objects/text-field.pug | |||
@@ -14,9 +14,9 @@ mixin text-field | |||
14 | 'o-text-field--extended': !!block, | 14 | 'o-text-field--extended': !!block, |
15 | 'is-invalid': attributes.invalid, | 15 | 'is-invalid': attributes.invalid, |
16 | 'is-disabled': attributes.disabled, | 16 | 'is-disabled': attributes.disabled, |
17 | 'l-media': !!block, | 17 | 'l-media': !!block, |
18 | 'l-media--flush': !!block, | 18 | 'l-media--flush': !!block, |
19 | 'l-media--gapless': !!block, | 19 | 'l-media--gapless': !!block, |
20 | } | 20 | } |
21 | if (attributes.class) { | 21 | if (attributes.class) { |
22 | classes[attributes.class] = true; | 22 | classes[attributes.class] = true; |