-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Changes the size of the icons #495
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe recent changes encompass the addition of a new library, Web3.py, to the Ethereum ecosystem documentation, along with a brief introduction to it. Additionally, the CSS styles for images in Markdown files have been modified to enhance their display and positioning. Changes
Poem
TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 1
Configuration used: CodeRabbit UI
Files selected for processing (4)
- docs/courses/learnweb3.md (1 hunks)
- docs/libraries/libraries.md (1 hunks)
- docs/libraries/web3py.md (1 hunks)
- src/css/custom.css (1 hunks)
Files skipped from review due to trivial changes (3)
- docs/courses/learnweb3.md
- docs/libraries/libraries.md
- docs/libraries/web3py.md
.markdown img { | ||
max-width: min(600px, 100%); | ||
margin: 0 auto 1.5rem auto; | ||
display: block; | ||
max-width: min(50px, 100%); | ||
margin: 2 auto 2rem auto; | ||
display:inline-block; | ||
border: 2px solid var(--cabbage60); | ||
} |
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.
The changes to the CSS properties for .markdown img
seem to be fine. However, the margin
property seems to be incorrect. The margin
shorthand property takes 1, 2, 3, or 4 values. In this case, it seems like you're trying to use 4 values (top, right, bottom, left), but you've only provided 3. If you want to set a margin of 2 pixels on the top and bottom and auto on the left and right, you should use 2px auto
. If you want to set a margin of 2 pixels on the top, auto on the right and left, and 2rem on the bottom, you should use 2px auto 2rem
.
- margin: 2 auto 2rem auto;
+ margin: 2px auto 2rem;
Commitable suggestion (Beta)
.markdown img { | |
max-width: min(600px, 100%); | |
margin: 0 auto 1.5rem auto; | |
display: block; | |
max-width: min(50px, 100%); | |
margin: 2 auto 2rem auto; | |
display:inline-block; | |
border: 2px solid var(--cabbage60); | |
} | |
.markdown img { | |
max-width: min(50px, 100%); | |
margin: 2px auto 2rem; | |
display:inline-block; | |
border: 2px solid var(--cabbage60); | |
} |
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.
okay
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.
@AnuragNishad12 Great! If you have any other questions or need further clarification, feel free to ask.
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.
do u merged this or not ?
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.
@AnuragNishad12 As an AI, I don't have the ability to merge pull requests. You'll need to merge the changes yourself or ask a project maintainer to do so. If you have any other questions, feel free to ask.
before :-
after:-
Summary by CodeRabbit
New Feature:
Documentation:
learnweb3.md
file for improved readability.Style: