-
Notifications
You must be signed in to change notification settings - Fork 11
feat: image alignment options #1153
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
base: next
Are you sure you want to change the base?
Conversation
@@ -16,5 +16,5 @@ | |||
.markdown-body { | |||
@include gfm; | |||
|
|||
font-size: var(--markdown-font-size, 14px); | |||
font-size: var(--markdown-font-size, 15px); |
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.
Matches hubs in prod
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.
nice!! love the changes to the caption styling too. do you mind adding examples of left and right aligned images?
Thx for your help! Examples where? I added some in the test files—which I used as examples, I could duplicate them where the pizza pics are? Or do you mean in this PR description? |
yes with the 👌 pizza pics in |
oh i guess since they are already in |
@@ -139,7 +178,11 @@ | |||
|
|||
&.border, | |||
&:not([src$='.png']):not([src$='.svg']):not([src$='.jp2']):not([src$='.tiff']) { | |||
box-shadow: 0 0.5em 3em -1em rgba(0, 0, 0, 0.2); | |||
border-radius: var(--xs); |
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.
this + the border border-radius
seems controversial LOL
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.
but i do like it more
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.
Will tone it down! Thanks for the gut check
🧰 Changes
Support for image align left/right + captions when floating
Non-breaking changes:
Breaking changes:
Risk:
Low, but recommend before merging:
🧬 QA & Testing