How to make a breakable tcolorbox
which spans the total text height? I tried this:
\documentclass{article}
\usepackage[breakable]{tcolorbox}
\usepackage[top=2cm,bottom=2cm,hmargin=2.2cm]{geometry}
\usepackage{lipsum}
\begin{document}
\begin{tcolorbox}[breakable,height fill]
\lipsum[1-10]
\end{tcolorbox}
\end{document}
The problem is that the tcolorbox
on the second page doesn't have \textheight
(i.e. the box should like a border around the page):