From 120ad0cdc11143fb6f184bcbca332dbf8a2114e8 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 28 Mar 2022 09:00:40 +0200 Subject: Improved bubble --- tpl/views/bubble-group.pug | 4 ++-- tpl/views/bubble.pug | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'tpl/views') diff --git a/tpl/views/bubble-group.pug b/tpl/views/bubble-group.pug index ec7d025..19b06c4 100644 --- a/tpl/views/bubble-group.pug +++ b/tpl/views/bubble-group.pug @@ -1,6 +1,6 @@ mixin view-bubble-group +view('bubble-group', 'Bubble group') - .c-box.l-overflow(style='max-height: 15em') + .c-box.l-overflow(style='resize: vertical') +bubble-group('Volpeon')(compact=true arrow=true) +bubble('Volpeon')(compact=true class='l-bubble-group__bubble') +slot('body')= 'Compact bubbles test' @@ -18,7 +18,7 @@ mixin view-bubble-group +slot('body')= loremIpsum +slot('time')= '12:39' - .c-box.l-overflow(style='max-height: 15em') + .c-box.l-overflow(style='resize: vertical') +bubble-group('Volpeon') +bubble()(class='l-bubble-group__bubble') +slot('header') diff --git a/tpl/views/bubble.pug b/tpl/views/bubble.pug index 5e53f5b..0e65635 100644 --- a/tpl/views/bubble.pug +++ b/tpl/views/bubble.pug @@ -11,8 +11,8 @@ mixin view-bubble +bubble()(compact=true theme='t-def') +slot('body')= loremIpsum - .c-box - +bubble() + .c-box.l-overflow(style='resize: vertical') + +bubble('Volpeon')(avatar=true) +slot('header') .l-card.l-card--flush .l-card__block.l-card__block--main @@ -21,4 +21,7 @@ mixin view-bubble small.l-card__block = '5 minutes ago' +icon('lock')(class='u-ml-100') - +slot('body')= loremIpsum + +slot('body') + = loremIpsum + = loremIpsum + = loremIpsum -- cgit v1.2.3-70-g09d2