Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

CSS to Vertical Align Icons in Info, Note, Warning or Tip Macros

Andrea Rodriguez November 4, 2021

Has anyone figured out the CSS to get the icons for the Info, Note, Warning or Tip Macros to vertically align in the middle of the macro div? I've tried setting the top to 50%, but this doesn't work, and the height of the parent is generally variable.

1 answer

0 votes
Brant Schroeder
Community Champion
November 18, 2021

@Andrea Rodriguez Welcome to the Atlassian community

I played around with the CSS to see if I could change the alignment.  The issue I ran into was the CSS hierarchy for that element.  It would never align properly because of the other css elements being used to place it on the page.  I think you would have to re-write the whole tip macro css to get it to align how you are hoping.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events