We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to get this runnning with the sass mixin sass-rem (https://github.com/pierreburel/sass-rem)
here is the code in my twig file:
{% stylesheets filter="scssphp" output="/assets/css/style.css" "@AppBundle/Resources/sass/style.scss" %} <link rel="stylesheet" href="{{ asset_url }}" /> {% endstylesheets %} Here is the sass code:
{% stylesheets filter="scssphp" output="/assets/css/style.css" "@AppBundle/Resources/sass/style.scss" %} <link rel="stylesheet" href="{{ asset_url }}" /> {% endstylesheets %}
$nav-font-size: 15px; @include rem(( font-size: $nav-font-size ));
My rem-baseline is: $rem-baseline: 16px;
$rem-baseline: 16px;
and this is what comes out:
font-size:15px; font-size:0.00977rem --> it should be 0.997
Calculated rems are to small of factor 100, so if i put 1500 as baseline it works.
When i generate the css file with an other tool or manual everything works fine.
Any idea what cause this?
Regards Thomas
The text was updated successfully, but these errors were encountered:
Maybe you could retry with master? I'm getting the same results with both the latest scssphp and scss (3.4.20).
master
@import 'rem'; $rem-baseline: 16px; $nav-font-size: 15px; div { @include rem(( font-size: $nav-font-size )); }
Both output:
div { font-size: 15px; font-size: 0.9375rem; }
Sorry, something went wrong.
No branches or pull requests
I try to get this runnning with the sass mixin sass-rem (https://github.com/pierreburel/sass-rem)
here is the code in my twig file:
{% stylesheets filter="scssphp" output="/assets/css/style.css" "@AppBundle/Resources/sass/style.scss" %} <link rel="stylesheet" href="{{ asset_url }}" /> {% endstylesheets %}
Here is the sass code:
My rem-baseline is:
$rem-baseline: 16px;
and this is what comes out:
Calculated rems are to small of factor 100, so if i put 1500 as baseline it works.
When i generate the css file with an other tool or manual everything works fine.
Any idea what cause this?
Regards
Thomas
The text was updated successfully, but these errors were encountered: