From 5e22cb2c7bf108a95ba92a07d82e73816de2f267 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 15 Nov 2024 01:30:14 +0300 Subject: [PATCH] Update developer-tools-template.ts --- .../developer-tools/template/developer-tools-template.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/panels/developer-tools/template/developer-tools-template.ts b/src/panels/developer-tools/template/developer-tools-template.ts index bae3f6909ce4..0ac602dbe712 100644 --- a/src/panels/developer-tools/template/developer-tools-template.ts +++ b/src/panels/developer-tools/template/developer-tools-template.ts @@ -342,11 +342,7 @@ class HaPanelDevTemplate extends LitElement { .content.horizontal .render-pane .card-content { display: flex; flex-direction: column; - max-height: calc( - 100vh - var(--header-height) - var(--paper-font-body1_-_line-height) * 3 - 1em * 2 - - max(16px,env(safe-area-inset-top)) * 2 - max(16px,env(safe-area-inset-bottom)) * 2 - - var(--ha-card-border-width,1px) * 2 - 132px - ); + max-height: calc(var(--code-mirror-max-height) + 47px); } .all_listeners {