Ionic-framework: Navbar right side icons appear too small

Created on 9 Oct 2016  路  4Comments  路  Source: ionic-team/ionic-framework

Short description of the problem:

The icons on the right in the navbar appear too small.

image

What behavior are you expecting?

The same size of icons for both menu toggle and action icons as shown in the Material Design guidelines on https://material.google.com/components/subheaders.html

image

Steps to reproduce:

  1. Create an empty tabs project ionic start tabs tabs --v2
  2. Change a template e.g. home.html with header code based on the documentation:
<ion-header>
 <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>

    <ion-title>
      Page Title
    </ion-title>

    <ion-buttons end>
      <button ion-button>
        <ion-icon name="search"></ion-icon>
      </button>
      <button ion-button>
        <ion-icon name="more"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

Which Ionic Version? 2.x

Plunker that shows an example of your issue

I have created a Plunkr but in this Plunkr the icons are the same size:

image

http://plnkr.co/edit/Gn9m7rfjc9WSGUOLBwBt?p=info

Run ionic info from terminal/cmd prompt: (paste output below)

Most helpful comment

add icon-only to the button:
<button ion-button icon-only ...>

All 4 comments

add icon-only to the button:
<button ion-button icon-only ...>

No problem. If you haven't already, check the release notes too:

https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

thanks! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daveshirman picture daveshirman  路  3Comments

MrBokeh picture MrBokeh  路  3Comments

vswarte picture vswarte  路  3Comments

giammaleoni picture giammaleoni  路  3Comments

SebastianGiro picture SebastianGiro  路  3Comments