I am trying to stack three images horizontally. The images have the same size, I want to align them without any vertical gap. I followed the instructions that I found on this answer:
\blindtext
\begin{figure}[!htb]
\minipage{0.32\textwidth}
\includegraphics[width=\linewidth]{Immagini/teiera-ambientale.png}
\caption{Componente ambientale}
\label{fig:Componente ambientale}
\endminipage\hfill
\minipage{0.32\textwidth}
\includegraphics[width=\linewidth]{Immagini/teiera-diffusa.png}
\caption{Componente ambientale e diffusa}
\label{fig:Componente ambientale e diffusa}
\endminipage\hfill
\minipage{0.32\textwidth}
\includegraphics[width=\linewidth]{Immagini/teiera-speculare.png}
\caption{Componente ambientale, diffusa e speculare}
\label{fig:Componente ambientale, diffusa e speculare}
\endminipage
\end{figure}
\blindtext
But that's the result I get:

I suppose it's because the captions have different length. But I can't change the title in the caption, is there a way to make the gap go away?
