Skip to content

Commit

Permalink
minor #1309 [Site] Lessening padding to avoid scroll & removing npm (…
Browse files Browse the repository at this point in the history
…weaverryan)

This PR was merged into the 2.x branch.

Discussion
----------

[Site] Lessening padding to avoid scroll & removing npm

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Issues        | None
| License       | MIT

The homepage terminal block on ux.symfony.com has a tiny bit or horizontal scroll. The padding change fixes that.

Cheers!

Commits
-------

c5ccec1 [Site] Lessening padding to avoid scroll & removing npm
  • Loading branch information
weaverryan committed Nov 29, 2023
2 parents 4a2b74d + c5ccec1 commit 0eb075a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ux.symfony.com/templates/components/Terminal.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
</div>
<div class="Terminal_body">
<pre class="Terminal_content ps-4 pt-3" style="padding-bottom: {{ bottomPadding }}px; height: {{ height }}"><code>
<pre class="Terminal_content ps-3 pt-3" style="padding-bottom: {{ bottomPadding }}px; height: {{ height }}"><code>
{{- this.process(block('content'))|raw -}}
</code></pre>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
{% component Terminal with {bottomPadding: 20} %}
{% block content %}
composer require {{ package.composerName }}
npm install --force
npm run watch
{% endblock %}
{% endcomponent %}
</div>
Expand Down

0 comments on commit 0eb075a

Please sign in to comment.