Template:Price/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
test |
Drop two rules: display:flex causes vertical shifting, especially when used in lists. align-items doesn't apply to the current HTML structure, since <img> is not a flex container. |
||
| Line 2: | Line 2: | ||
display: flex; |
display: flex; |
||
gap: 2px; |
gap: 2px; |
||
align-items: center; |
|||
} |
|||
.template-price__image span { |
|||
display: flex; |
|||
} |
|||
.template-price__image img { |
|||
align-items: center; |
align-items: center; |
||
} |
} |
||