From 27d243c0bbee1756bb1e548a3a4520ae0b749185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= Date: Wed, 21 Jan 2026 18:53:43 +0100 Subject: [PATCH] [TASK] Ensure some spacing below translation mode icons The translation model used in the PageLayoutModule get the available translation modes over an AJAX request and rendering the mode rows in JavaScript. To prepare the reduction of the mode description in `EXT:deepltranslate_core` this change now adds ```html style="margin-bottom: 20px;" ``` to the left mode select column for each mode to ensure some spacing if the description text is to small. Used command(s): ```shell Build/Scripts/runTests.sh -t 12 \ -s buildCoreOverrideJavaScriptFiles \ && Build/Scripts/runTests.sh -t 13 \ -s buildCoreOverrideJavaScriptFiles ``` [1] https://github.com/web-vision/deepltranslate-core/pull/512 --- .../Overrides/Core12/Sources/TypeScript/backend/localization.ts | 2 +- .../Sources/TypeScript/backend/localization/provider-list.ts | 2 +- Build/Scripts/runTests.sh | 1 + Resources/Public/JavaScript/Core12/localization.js | 2 +- .../Public/JavaScript/Core13/localization/provider-list.js | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Build/Overrides/Core12/Sources/TypeScript/backend/localization.ts b/Build/Overrides/Core12/Sources/TypeScript/backend/localization.ts index 5911624..47a0eab 100644 --- a/Build/Overrides/Core12/Sources/TypeScript/backend/localization.ts +++ b/Build/Overrides/Core12/Sources/TypeScript/backend/localization.ts @@ -367,7 +367,7 @@ class Localization { const iconMarkup: string = await Icons.getIcon(provider.icon, Icons.sizes.large, null, null, MarkupIdentifiers.inline); return Promise.resolve( '
' - + '
' + + '
' + '