-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add image support to Pillar component #862
base: main
Are you sure you want to change the base?
Changes from all commits
45607ac
1f3dec8
863c87e
a19b21c
12e600a
fd25bf2
76c1378
912eb34
ac975a6
c3219e1
39441ef
eb099a9
09013e8
f8d8997
4bf6462
3008b7a
b1dee09
ce6fc64
41a9432
d07ee45
047b7d8
004e757
28608f9
518eb7b
257e59c
230f59d
1392374
9849354
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react-brand': patch | ||
--- | ||
|
||
Added image support to `Pillar` component |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,17 @@ | |
text-align: left; | ||
} | ||
|
||
.Pillar__image { | ||
margin-bottom: var(--base-size-28); | ||
border-radius: var(--brand-borderRadius-medium); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All border-radius for cards, bento's etc are supposedly increasing to xlarge. Can we apply that now? Maybe also sneak in the same change into Card too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I prefer that we handle this in a dedicated PR to ensure all components that need updating are addressed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, mentioning as I can see you've made a padding update to the Card in this PR already, so felt okay to do it in this PR too? Agree other components like Bento can wait. Fine if you want to defer it also. |
||
overflow: hidden; | ||
} | ||
|
||
.Pillar__image img, | ||
.Pillar__image span { | ||
display: block; | ||
} | ||
|
||
.Pillar__icon { | ||
display: flex; | ||
margin-bottom: var(--base-size-24); | ||
|
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.
🙈 thanks for tidying up those typo's.. wondering if we should enable a CI spell checker
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.
That would be neat!