# How to align the top of two minipages [duplicate]

I have two minipages aligned to the top of a frame (I used the option [t] on the frame and the two minipages).

If I had elements in one of the minipage, the other minipage goes down.

I have reproduced a small example (pdf link):

\documentclass{beamer}

\begin{document}

\begin{frame}[t]
\begin{minipage}{0.58\linewidth}
\begin{tabular}{c}\hline
\only<2->{ line2\vspace{6cm}\\\hline}
\end{tabular}
\end{minipage}\hfill
\begin{minipage}{0.4\linewidth}
\begin{block}{Text}
text\\
\end{block}
\end{minipage}

\end{frame}

\end{document}


Do you know how to avoid this behavior?