unmantained-activeadmin-plugins / activeadmin-wysihtml5

MIT License
87 stars 91 forks source link

Bad positionning with latest ActiveAdmin #26

Open geoffroymontel opened 10 years ago

geoffroymontel commented 10 years ago

Hello

I use ActiveAdmin on the master branch with Rails 4.1 and the Wysihtml5 editor is not well positionned capture decran 2014-04-23 a 11 10 36

Something like this would fix it

body.active_admin form .activeadmin-wysihtml5 {
  float: left;
  width: 70%;
}

Best regards

Geoffroy

vassyz commented 10 years ago

I know it's not the best practice, but I added this to my active_admin.css.scss file:

body.active_admin form .activeadmin-wysihtml5 {
  float: left !important;
  width: calc(80% - 22px) !important;
}