Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

fix: Path adjustment and expand multiple children whenever possible #52

Merged
merged 19 commits into from
Feb 11, 2020

Conversation

haxxmaxx
Copy link
Collaborator

@haxxmaxx haxxmaxx commented Feb 11, 2020

Branched of my old branch, hence all the commits...

  • Set all sizes as constants
  • Fix paths for to buttons. This breaks support for others directions than top-to-bottom. Should not be that hard to fix later.

@haxxmaxx haxxmaxx marked this pull request as ready for review February 11, 2020 10:45
heightMargin: buttonHeight + buttonMargin * 3,
leafMargin: 16,
buttonMargin,
buttonWidth: 48, // TODO: might need to be dynamic
Copy link
Collaborator

@Caele Caele Feb 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could probably just skip this, and instead set a max-width in css, just to avoid strange large cases.
EDIT: If you figure out a way to still centre them below the cards... without resorting to too many extra divs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, to center them becomes a problem if the css sets the width dynamically. I've tried and three digits fit, so we'll never need more than that if we have a sanity limit.

@haxxmaxx haxxmaxx merged commit b1256f5 into master Feb 11, 2020
@haxxmaxx haxxmaxx deleted the crl/expand-paths branch February 11, 2020 12:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants