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

Set center: false cannot align everything to the left #133

Closed
fuzihaofzh opened this issue Sep 12, 2022 · 4 comments
Closed

Set center: false cannot align everything to the left #133

fuzihaofzh opened this issue Sep 12, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@fuzihaofzh
Copy link

fuzihaofzh commented Sep 12, 2022

Describe the bug
When set center to false, it still algin everything as center.

Samples to Reproduce

---
margin: 0
width: 1920
height: 1200
center: false
---
## Title
This is a test

Expected behavior
I hope Title and the text will be aligned to the most left. However, they are still at the center of the screen.

@fuzihaofzh fuzihaofzh added the bug Something isn't working label Sep 12, 2022
@stoweboyd
Copy link

I have the same problem

@MSzturc
Copy link
Owner

MSzturc commented Oct 6, 2022

will be fixed with next version

@MSzturc MSzturc closed this as completed Oct 6, 2022
@stefanopagliari
Copy link

@MSzturc thank you for fixing this.

I have a question regarding the functioning of this feature.
If I set center: false in the YAML, how do I ensure that H1 and figures remain entered? I have a custom css file but I'm not particularly familiar with CSS and whether the values in that file would be overridden by center:false

@MSzturc
Copy link
Owner

MSzturc commented Oct 18, 2022

When you set center = false the parent container of a slide and all grid elements gets the style align-items: start otherwise whenn center not set or true, then align-items will be undefined (which means that it will align center by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants