My css file is overridden due to activeadmin

前端 未结 5 933
余生分开走
余生分开走 2020-12-24 06:33

First I have created an active_admin css file as app/assets/stylesheets/active_admin.css.scss

/* active_admin.css.scss */
@import \"active_admin         


        
5条回答
  •  温柔的废话
    2020-12-24 07:25

    Based on seanlinsley comment on selected answer and nathan's answer too, it seems to me that the 'cleanest' way is indeed to move active_admin.css.scss from app/assets/stylesheets/ to vendor/assets/stylesheets/.

    No need to any other (configuration) modification: 'main' app has it's styles back to normal and AA display is normal too.

    (I didn't want to manually include each of my ressources instead of require_tree ... !)

    This is the way AA is getting into: AA (still) opened issue on the matter.

提交回复
热议问题