-
Notifications
You must be signed in to change notification settings - Fork 47
activeadmin v2.10.x compatibility #73
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
Conversation
This is the Sass error I am getting using active_admin 2.10.0:
My line 16 of @import "active_admin_datetimepicker"; The issue is fixed for me by changing this line into the following: $filter-field-seperator-width: 12px;
$sidebar-inner-content-width: $sidebar-width - ($section-padding * 2);
$side-by-side-filter-input-width:
($sidebar-inner-content-width * 0.5) -
($text-input-horizontal-padding * 2) -
$filter-field-seperator-width;
@import "active_admin_datetimepicker"; The issue may come from the fact that these variables are not accessible from the main scope anymore, as they are imported inside a |
@sunny thanks for the workaround. looks like needs to move stylesheets in |
I’ve tried the following, but that doesn’t seem to register as the same shared scope for Sass: @media print { @import "active_admin_datetimepicker"; } So I’m guessing we should override the variables, or use new ones. We can also override the variables using the |
Here are the changes we can apply: https://github.com/sunny/active_admin_datetimepicker/pull/1/files |
@gigorok your PR for CI merged! |
1bb1dea
to
16bf8f3
Compare
16bf8f3
to
a2c925b
Compare
active_admin_datetimepicker has been already compatible with activeadmin >= v2.11.0 after changes activeadmin/activeadmin#7341. don't think that we have to support compatibility with v2.10.x |
the latest active_admin_datetimepicker v0.7.4 is not compatible with activeadmin v2.10.x, but compatible with v2.11.0