diff --git a/share/templates/lab/index.html.j2 b/share/templates/lab/index.html.j2
index 5e9808ac3..7549a4538 100644
--- a/share/templates/lab/index.html.j2
+++ b/share/templates/lab/index.html.j2
@@ -85,44 +85,6 @@ a.anchor-link {
font-size: var(--jp-code-font-size);
}
-/* Using table instead of flexbox so that we can use break-inside property */
-/* CSS rules under this comment should not be required anymore after we move to the JupyterLab 4.0 CSS */
-
-
-.jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-prompt {
- min-width: calc(
- var(--jp-cell-prompt-width) - var(--jp-private-cell-scrolling-output-offset)
- );
-}
-
-.jp-OutputArea-child {
- display: table;
- width: 100%;
-}
-
-.jp-OutputPrompt {
- display: table-cell;
- vertical-align: top;
- min-width: var(--jp-cell-prompt-width);
-}
-
-body[data-format='mobile'] .jp-OutputPrompt {
- display: table-row;
-}
-
-.jp-OutputArea-output {
- display: table-cell;
- width: 100%;
-}
-
-body[data-format='mobile'] .jp-OutputArea-child .jp-OutputArea-output {
- display: table-row;
-}
-
-.jp-OutputArea-output.jp-OutputArea-executeResult {
- width: 100%;
-}
-
/* Hiding the collapser by default */
.jp-Collapser {
display: none;
@@ -137,10 +99,6 @@ body[data-format='mobile'] .jp-OutputArea-child .jp-OutputArea-output {
.jp-Cell-outputWrapper {
display: block;
}
-
- .jp-OutputArea-child {
- break-inside: avoid-page;
- }
}