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

Added scss variable for flags sprite #136

Merged
merged 2 commits into from
Aug 21, 2016

Conversation

matteoantoci
Copy link

I added a scss variable to be able to overwrite easily the sprite path in my scss.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.261% when pulling 418904a on matteoantoci:flag-path into 649caac on patw0929:master.

background-repeat: no-repeat;
// empty state
background-color: #DBDBDB;
background-position: $flagWidth 0;

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
background-image: url("../images/flags@2x.png");
background-image: url($intl-tel-input-sprite-path);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same variable? The ../images/flags@2x.png will be lost here...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops! Sorry, I'm fixing it

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.261% when pulling d930d25 on matteoantoci:flag-path into 649caac on patw0929:master.

@patw0929 patw0929 merged commit 799b5e1 into patw0929:master Aug 21, 2016
patw0929 added a commit that referenced this pull request Aug 21, 2016
* #136: Added scss variable for flags sprite
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

Successfully merging this pull request may close these issues.

None yet

3 participants