rollincode / rails_admin_theme

rails_admin theme flat theme
MIT License
149 stars 120 forks source link

Smartphones layout not responsive #7

Closed luismelodev closed 8 years ago

luismelodev commented 8 years ago

Hello,

I found a problem when using at my mobile device.

It happens that the layout shows like a full desktop website, and not responsive mobile one...

nicovak commented 8 years ago

I think the issue comes from rails_admin Itself. We just created a theme to override default css.

https://github.com/sferik/rails_admin/blob/master/app/views/layouts/rails_admin/application.html.haml

<meta name="viewport" content="width=device-width, initial-scale=1"> is not present.

luismelodev commented 8 years ago

That's correct... I had solved the problem by adding the tag on document ready state. I will open the issue on RailsAdmin issues.

nicovak commented 8 years ago

You can also override rails admin layout easily.

Le lun. 27 juin 2016 12:35, Luís Melo notifications@github.com a écrit :

That's correct... I had solved the problem by adding the tag on document ready state. I will open the issue on RailsAdmin issues.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/rollincode/rails_admin_theme/issues/7#issuecomment-228710573, or mute the thread https://github.com/notifications/unsubscribe/AF7TNMTu24ldB3QbeWiio88bPbXPh4RYks5qP6dlgaJpZM4I-Xgx .

luismelodev commented 8 years ago

However, other users have the same problem as I do. It would be nice if they change the global layout.

2016-06-27 7:37 GMT-03:00 Kovacs Nicolas notifications@github.com:

You can also override rails admin layout easily.

Le lun. 27 juin 2016 12:35, Luís Melo notifications@github.com a écrit :

That's correct... I had solved the problem by adding the tag on document ready state. I will open the issue on RailsAdmin issues.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub < https://github.com/rollincode/rails_admin_theme/issues/7#issuecomment-228710573 , or mute the thread < https://github.com/notifications/unsubscribe/AF7TNMTu24ldB3QbeWiio88bPbXPh4RYks5qP6dlgaJpZM4I-Xgx

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rollincode/rails_admin_theme/issues/7#issuecomment-228710947, or mute the thread https://github.com/notifications/unsubscribe/AEN-ApmzTOZRUN58KH-FFLe0FBIbCfiGks5qP6ffgaJpZM4I-Xgx .