Skip to content

Web 46: Add split component#76

Merged
wlenig merged 9 commits into
SGAOperations:mainfrom
gracesilge:WEB-46
Mar 15, 2026
Merged

Web 46: Add split component#76
wlenig merged 9 commits into
SGAOperations:mainfrom
gracesilge:WEB-46

Conversation

@gracesilge

@gracesilge gracesilge commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator
  • Creates composable split component
  • Allows for any realistic ratio
  • In a vertical behavior or small screen size, the component will act like 2 content blocks stacked on top of each other, allowing components to determine their own size

Open questions/future improvements:

  • If one content block is significantly larger than another, the smaller content defaults to the top, creating a big gap (see first image). Should we find a way to make it default to the middle, or is this unimportant because you would simply decrease the ratio in the case of a big difference in size?
  • Should we make a horizontal-only split pane - one that does not default to vertical on mobile? I used a split pane to make the button smaller in the example, but that behavior was lost on mobile.

Horizontal and big screen:
Screenshot 2026-03-03 at 8 43 10 PM

Small screen:
Screenshot 2026-03-03 at 8 43 57 PM

Vertical selection:
Screenshot 2026-03-03 at 8 44 12 PM

@gracesilge
gracesilge marked this pull request as draft March 4, 2026 12:55
@gracesilge
gracesilge marked this pull request as ready for review March 10, 2026 23:35
wlenig
wlenig previously approved these changes Mar 15, 2026
SGAOperations
SGAOperations previously approved these changes Mar 15, 2026
@wlenig
wlenig merged commit 77eeebb into SGAOperations:main Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants