version diff editor takes screen height

This commit is contained in:
Ruben Fiszel
2024-08-20 12:43:35 +02:00
parent c19df12292
commit dc779dcf42
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -934,7 +934,7 @@ pub async fn reload_worker_config(
tracing::error!("Error reloading worker config: {:?}", e)
} else {
let wc = WORKER_CONFIG.read().await;
let mut config = config.unwrap();
let config = config.unwrap();
if *wc != config || config.dedicated_worker.is_some() {
if kill_if_change {
if config.dedicated_worker.is_some()
@@ -132,7 +132,7 @@
<div class="h-full w-full overflow-auto">
{#if selectedVersion}
{#key selectedVersion}
<div class="flex flex-col">
<div class="flex flex-col min-h-full">
<span class="flex flex-row text-sm p-2 text-tertiary">
{#if deploymentMsgUpdateMode}
<div class="flex w-full">
@@ -69,7 +69,7 @@
{#if showDiff}
{#key previousCode + code}
<DiffEditor
class="h-80"
class="h-screen"
readOnly
automaticLayout
defaultLang={language}