Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nested forms are not indented properly since fix indentation issue with col-md-offset-2 #2298

Closed
fmh opened this issue May 17, 2015 · 4 comments

Comments

@fmh
Copy link
Contributor

fmh commented May 17, 2015

with col-md-offset-2 css class :
capture d ecran 2015-05-17 a 13 34 17

without col-md-offset-2 css class :

capture d ecran 2015-05-17 a 13 34 53

@rikkipitt
Copy link
Contributor

Hi @fmh - just out of interest... how are you doing those custom layouts? They look great!

Cheers!

@fmh
Copy link
Contributor Author

fmh commented May 18, 2015

In my app , I offer the possibility to the user to choose a custom theme. This is a lot of customization of some files (form_builder.rb , *.css, etc.).

capture d ecran 2015-05-18 a 23 25 25

application.html.haml

= stylesheet_link_tag "rails_admin/main_css/#{current_user.theme}/rails_admin.css", media: :all

initializers/assets.rb

Rails.application.config.assets.precompile += ["rails_admin/main_css/*"]

@mshibuya
Copy link
Member

Is there any clue that col-md-offset-2 is a bad change?
Just fixing your custom theme isn't enough?

@fmh
Copy link
Contributor Author

fmh commented May 21, 2015

I tried without any custom theme, only with basic (original theme), and i get the same result.
In my firebug if i remove the col-md-offset-2 class, i get the correct indentation.

@fmh fmh closed this as completed Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants