Skip to content

Commit

Permalink
Fix overflow and extra padding on generated command box
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenseacat committed Jan 16, 2025
1 parent 6cd227c commit 29d209e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function setUrl() {
}

const el = document.getElementById('selected-features')
el.innerHTML = code;
el.innerHTML = code.trim();
}

window.cantDecide = function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/ash_hq_web/templates/home/home.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
</div>

<div class="my-4 text-primary-light-200 bg-slate-900/70 rounded-lg text-white py-4 flex justify-center">
<pre id="selected-features" class="overflow-scroll text-left">
<pre id="selected-features" class="overflow-auto text-left">
<%= {:safe, """
sh <(curl '#{@url_base}#{@safe_app_name}') \\
&& cd #{@safe_app_name}
Expand Down

0 comments on commit 29d209e

Please sign in to comment.