Famous / Famous/famous-angular
Origin inconsistency in docs vs stylesheet
Open
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
The default "origin" property is [0, 0] as per documentation here: https://famo.us/guides/layout
However, in this stylesheet: https://github.com/Famous/famous-angular/blob/master/src/styles/famous-angular.css
A different default is defined as:
.famous-surface {
...
transform-origin: center center;
...
This switches the default value of origin to [0.5, 0.5]
Contributor guide
Assessment
This issue has not been assessed yet.