MobileArticleTarget: Collapse text style buttons

B/I doesn't fit with link & cite on a iPhone 6

Change-Id: Ib23b2f8540425ee5d8265f369aea250e900a0c5f
This commit is contained in:
Ed Sanders 2015-07-29 17:11:06 +01:00 committed by Jforrester
parent 2c7a42fff9
commit 08a9551c84

View file

@ -46,7 +46,17 @@ ve.init.mw.MobileArticleTarget.static.toolbarGroups = [
// Link
{ include: [ 'back' ] },
// Style
{ include: [ 'bold', 'italic' ] },
{
classes: [ 've-test-toolbar-style' ],
type: 'list',
icon: 'textStyle',
indicator: 'down',
title: OO.ui.deferMsg( 'visualeditor-toolbar-style-tooltip' ),
include: [ { group: 'textStyle' }, 'language', 'clear' ],
forceExpand: [ 'bold', 'italic', 'clear' ],
promote: [ 'bold', 'italic' ],
demote: [ 'strikethrough', 'code', 'underline', 'language', 'clear' ]
},
// Link
{ include: [ 'link' ] },
// Cite