I have a few rectangles that hold text made in Tikz next to eachother, and I want them to all be properly aligned vertically. The issue is that for boxes that hold words with letters such as j and y, the bottom of the box is extended and so the boxes with words that don't contain those letters are slightly higher, like so:

Word and Box are higher than the other three, I would like them to all be at the same height. The command I am using to generate this is
\newcommand{\autour}[1]{\tikz[baseline=(X.base)]\node [fill=seafoam,rectangle,inner sep=5pt, anchor=text, rounded corners=5pt, minimum height=0.7cm] (X) {#1};}
\autour{\textcolor{white}{\textbf{June}}}
Any help is appreciated.

\strutmay be used, as in\newcommand{\autour}[1]{\tikz[baseline=(X.base)]\node [fill=magenta,rectangle,inner sep=5pt, anchor=text, rounded corners=5pt, minimum height=0.7cm] (X) {\strut#1};}– Steven B. Segletes Apr 05 '22 at 01:13