Adjust numbered list indentation to match bullet list indentation
This commit is contained in:
@ -1025,11 +1025,20 @@ body.wp-admin .button.pricing-button:hover,
|
|||||||
|
|
||||||
#readme .wp-allstars-markdown-content ol.wp-allstars-list,
|
#readme .wp-allstars-markdown-content ol.wp-allstars-list,
|
||||||
#readme .wp-allstars-markdown-content ol {
|
#readme .wp-allstars-markdown-content ol {
|
||||||
padding-left: 15px; /* Less padding for ordered lists to match the visual alignment */
|
padding-left: 25px; /* Same padding as bullet lists for consistent indentation */
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
list-style-type: decimal;
|
list-style-type: decimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Adjust for the wider numbers to align text with bullet lists */
|
||||||
|
#readme .wp-allstars-markdown-content ol.wp-allstars-list li,
|
||||||
|
#readme .wp-allstars-markdown-content ol li {
|
||||||
|
padding-left: 0; /* Remove extra padding */
|
||||||
|
margin-left: -5px; /* Subtle adjustment to align text with bullet lists */
|
||||||
|
text-indent: -5px; /* Adjust text indent to align with bullet text */
|
||||||
|
padding-right: 10px; /* Prevent text from being too close to the edge */
|
||||||
|
}
|
||||||
|
|
||||||
#readme .wp-allstars-markdown-content li {
|
#readme .wp-allstars-markdown-content li {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
Reference in New Issue
Block a user