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

Vertically center text #14

Open
1 task
davidjb99 opened this issue Mar 22, 2021 · 0 comments
Open
1 task

Vertically center text #14

davidjb99 opened this issue Mar 22, 2021 · 0 comments
Assignees
Labels
Canvas Issues related to the funk Canvas Style-panel Issues related to the funk Style panel

Comments

@davidjb99
Copy link
Contributor

As a user of funk I want to quickly vertically align text. Presently I need to draw an element (such as a button) then to vertically align text draw another element inside the first element and put text in this second element. This is longwinded and confusing.

This appears to be possible using

  • align-items: center
  • display:flex
  • justify-content: center

A/C

  • The behavior needs to be as predictable as possible between single and multiline text.

We need to consider if this should not be in the typo styles but in layout settings, as it's technically not a style but a layout property that should be set on a per-element basis, not per typo style. To get started I suggest we see if this is possible then we can decide where we should put these settings.

To be discussed with @davidjb99 and @FranzSkuffka

@davidjb99 davidjb99 added the Canvas Issues related to the funk Canvas label Mar 22, 2021
@davidjb99 davidjb99 added Styling Style-panel Issues related to the funk Style panel and removed Styling labels Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Canvas Issues related to the funk Canvas Style-panel Issues related to the funk Style panel
Development

No branches or pull requests

2 participants