There were no values to transform
mkoe-unitb opened this issue · 3 comments
mkoe-unitb commented
When I select everything and press Alt+Z px change to rem and rem to px. This works fine.
When i select everything and convert all px to rem (without changing rem to px), I get a warning "There were no values to transform". Is it possible to fix this? And maybe to create a keybindung for this function?
sainoba commented
Hi thanks for taking the time to write.
Can you provide an example of the text you are trying to transform?
mkoe-unitb commented
$person-picture-size-small: 1.875rem;
$person-picture-size-big: 8.75rem;
$person-picture-size-big-margin: 1.25rem;
$person-picture-size-square-y: 8.75rem;
$person-picture-size-square-x: 13.75rem;
.pa-person {
margin: 0.625rem 0;
picture {
border-radius: 62.5rem;
}
&--small {
picture {
margin-right: 0.5rem;
}
}
&--big,
&--headline {
b.pa-headline {
font-size: 18px;
line-height: 22px;
}
picture {
width: $person-picture-size-big;
height: $person-picture-size-big;
margin-right: $person-picture-size-big-margin;
}
}
&--headline {
.pa-person__title {
margin-top: 10px;
}
}
}
sainoba commented
Hey, I think it's fixed now.
Please update your extension and give it a try.