diff --git a/src/components/toolbar/QToolbarTitle.js b/src/components/toolbar/QToolbarTitle.js index 128c00cb11a..b670a6f7dcb 100644 --- a/src/components/toolbar/QToolbarTitle.js +++ b/src/components/toolbar/QToolbarTitle.js @@ -1,8 +1,12 @@ export default { name: 'q-toolbar-title', + props: { + shrink: Boolean + }, render (h) { return h('div', { - staticClass: 'q-toolbar-title' + staticClass: 'q-toolbar-title', + 'class': this.shrink ? 'col-auto' : null }, [ this.$slots.default, this.$slots.subtitle