Skip to content

Commit

Permalink
feat: QToolbarTitle "shrink" prop #1629
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Feb 24, 2018
1 parent cb08d03 commit c72241c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/toolbar/QToolbarTitle.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c72241c

Please sign in to comment.