Skip to content

Commit 0eb075a

Browse files
committed
minor #1309 [Site] Lessening padding to avoid scroll & removing npm (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
2 parents 4a2b74d + c5ccec1 commit 0eb075a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ux.symfony.com/templates/components/Terminal.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</div>
1010
</div>
1111
<div class="Terminal_body">
12-
<pre class="Terminal_content ps-4 pt-3" style="padding-bottom: {{ bottomPadding }}px; height: {{ height }}"><code>
12+
<pre class="Terminal_content ps-3 pt-3" style="padding-bottom: {{ bottomPadding }}px; height: {{ height }}"><code>
1313
{{- this.process(block('content'))|raw -}}
1414
</code></pre>
1515
</div>

ux.symfony.com/templates/ux_packages/_package_install.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
{% component Terminal with {bottomPadding: 20} %}
66
{% block content %}
77
composer require {{ package.composerName }}
8-
npm install --force
9-
npm run watch
108
{% endblock %}
119
{% endcomponent %}
1210
</div>

0 commit comments

Comments
 (0)