mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
version diff editor takes screen height
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user