-
Notifications
You must be signed in to change notification settings - Fork 3
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
work on post previews #14
Comments
And a written representation of the visuals: We define 4 preview types:
Small square: Tiny rectangle. Fits parent in dimensions.
Breadcrumb: Small - minimal height (~height of 1 line of text) and parent constrained max-width.
Quote in chat: Medium size - medium height (~height of 2 lines of text) and parent-constrained max-width.
Post-preview: Large size - varying height and screen width (max. ideal text width)
The Preview component requires each of the utilized apps to produce usable and composable output when a preview is requested from them. |
|
Full size post previews are sadly broken on safari.. :) The scaling does not work and instead it crops interestingly |
Write a preview variant of canvas that can be used in:
This preview variant should (for now) contain:
If it contains no text, just show as many image(s) as possible
If it contains only text just show the text
The text was updated successfully, but these errors were encountered: