-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Fairground 🎡] Avatar Sizing #12938
base: main
Are you sure you want to change the base?
[Fairground 🎡] Avatar Sizing #12938
Conversation
@@ -59,6 +59,16 @@ import { ImageWrapper } from './components/ImageWrapper'; | |||
import { TrailText, type TrailTextSize } from './components/TrailText'; | |||
|
|||
export type Position = 'inner' | 'outer' | 'none'; | |||
export const FAIRGROUND_CONTAINERS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if there is a more standard name for this set of containers than "fairground". Happy for any suggestions!
Size Change: +332 B (+0.03%) Total Size: 959 kB
ℹ️ View Unchanged
|
3b67c41
to
56b379e
Compare
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
What does this change?
Adds new size options for avatars that are included in a fairground container. The current sizing exists alongside this.
It also specifies that opinion cards in fairground containers that are horizontally aligned on desktop and bottom aligned on mobile should render on the right and bottom accordingly.
The fairground container cards with an avatar also remove the top margin.
Why?
This is part of the fairground opinion redesign.
Screenshots