Ionic-framework: How to make side menu in ionic 2 with both side with different width?

Created on 22 Dec 2016  路  6Comments  路  Source: ionic-team/ionic-framework

How to make side menu both side with deffer width ?

I am doing with sass variable . but its affecting both side menu.
$menu-width: 50px;
$menu-small-width:$menu-width - 40px;

`
capture1

Right side:

capture2

All 6 comments

please help me! ionic team

please help me! anyone!

@DILEEP-YADAV Why not give a simple class, without affecting the normal .SASS-Values?
Or do it via attributes e.g:

ion-menu[side=left] .menu-inner {
    width: 100px;
}

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!

@graphefruit thank you very much!

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings