Giter Site home page Giter Site logo

flattened_active_admin's People

Contributors

karlgl avatar rustcomet avatar tspacek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flattened_active_admin's Issues

ActionView::Template::Error (Error: File to import not found or unreadable: bourbon...

Hi
Firstly, I would like to say thanks for developing this gem.

I followed the the instructions on Installation and Usage sections of README
After running the server and refreshing page, I got the following error.

ActionView::Template::Error (Error: File to import not found or unreadable: bourbon.
        on line 11:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/mixins/_all.scss
        from line 1:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/_mixins.scss
        from line 11:1 of app/assets/stylesheets/active_admin.scss
>> @import "bourbon";

   ^
):

I am using:
Ruby - 2.4.9
Rails - 5.2.0
Active Admin - 2.7.0

Adding gem "bourbon" into Gemfile and running bundle install solved this problem.
Created this issue for developers if they are having the same issue. I hope this will be helpful.

The issue originated in gem "bourbon" and it was fixed in newer version, source:

box-sizing mixin is deprecated

The box-sizing mixin is deprecated and will be removed in the next major version release. This property can now be used un-prefixed.

Can't see the difference

I tried adding flattened_active_admin the same way you described but I got the exact same layout as before. I double checked and the flattened_active_admin mixin and base are being included and not the regular active_admin files. Is there something I am missing?
Also, how can we achieve the same looks as in the provided Example#1 and Example#2 screenshots?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.