-
Notifications
You must be signed in to change notification settings - Fork 27
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 custom badges/shields on doc pages #26
Conversation
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.
Left 2 comments.
|
||
Helper is located in the [eightshift-libs](https://github.com/infinum/eightshift-libs/blob/935e7bc777094d7518950316a45061f7675cf7ed/src/blocks/class-blocks.php#L295) library. | ||
Locate and return template part with passed attributes for a block. |
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.
Intentionally removed link or?
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.
As I wrote in PR description:
Removed links to libs in doc pages (we have badges now)
There is no need to link to the repo two times in short period time
article p img { | ||
margin-left: 0; | ||
display: inline-block; | ||
} | ||
|
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 is really unspecific, do badges have some kind of selectors on them you can use instead?
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.
There are no options to select specific images.
This won't break the layout of the image, it will just push it to the left.
* master: updating PR fixes Updating docs Updating docs Updating docs updating docs Updating docs adding block-attributes-override filter
* master: updating readme updating PRs updating docs updating docs fix typo Updating columns, helpers docs Updating columns Adding error logger helper Updating advance part Updating advance part Updating post type and rest fields Add layout overrides for flex containers Update the layout of footer links to the repos Updating docs Updating docs Add prefixed CSS Update footer layout Layout change in Get started cards
Add some image styles so badges look good and can be stacked in a single row
Add two versions of custom badges for showing where the examples are located (libs or frontend libs)
Removed links to libs in doc pages (we have badges now)
Removed some trailing whitespaces
Add one more badge image for Eightshift Boilerplate
Add doc badges to the rest of the chapters
Add short explanation of the
Shrtcode
class