From 29d209eadc85cba58852a728857f5e7dafaf03b3 Mon Sep 17 00:00:00 2001 From: Rebecca Le Date: Thu, 16 Jan 2025 11:49:17 +0800 Subject: [PATCH] Fix overflow and extra padding on generated command box --- assets/js/app.js | 2 +- lib/ash_hq_web/templates/home/home.html.heex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 6e659fc..49b3733 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -521,7 +521,7 @@ function setUrl() { } const el = document.getElementById('selected-features') - el.innerHTML = code; + el.innerHTML = code.trim(); } window.cantDecide = function() { diff --git a/lib/ash_hq_web/templates/home/home.html.heex b/lib/ash_hq_web/templates/home/home.html.heex index 1f51ece..b8a3fc4 100644 --- a/lib/ash_hq_web/templates/home/home.html.heex +++ b/lib/ash_hq_web/templates/home/home.html.heex @@ -210,7 +210,7 @@
-
+      
               <%= {:safe, """
               sh <(curl '#{@url_base}#{@safe_app_name}') \\
                   && cd #{@safe_app_name}