Famous / Famous/famous-angular

Origin inconsistency in docs vs stylesheet

Open
#351 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.