I want to reduce the white space (above and below) when I insert an equation environment in a beamer block.
\documentclass{beamer}
\usetheme{Antibes}
\usepackage{amsmath}
\begin{document}
\begin{frame}
\begin{block}{Separation of variables}
\setlength\abovedisplayskip{0pt}
\begin{equation}
1 + 2 = 3
\end{equation}
\end{block}
\end{frame}
\end{document}

I searched the web of course but the solutions I found do not seem to work (like \setlength\abovedisplayskip{0pt}).
What I found and should have worked:
