Skip to content

Commit 061076b

Browse files
Add a 30px width limit for the logo to the urls/index.html.twig and urls/show.html.twig
1 parent 12dc928 commit 061076b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Templates/urls/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% for url in urls %}
1919
<tr>
2020
<td>{{ url.id }}</td>
21-
<td><img src="{{ url.logo }}" alt="Logo"></td>
21+
<td><img src="{{ url.logo }}" width="30px" alt="Logo"></td>
2222
<td><a href="/urls/{{ url.id }}">{{ url.name }}</a></td>
2323
<td>{{ url.lastCheck }}</td>
2424
<td>{{ url.lastStatusCode }}</td>

src/Templates/urls/show.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% endfor %}
1010
{% endfor %}
1111
<div class="container-lg mt-3">
12-
<h1><img src="{{ url.logo }}" alt="Logo"> Сайт: {{ url.name }}</h1>
12+
<h1><img src="{{ url.logo }}" width="30px" alt="Logo"> Сайт: {{ url.name }}</h1>
1313
<div class="table-responsive">
1414
<table class="table table-bordered table-hover text-nowrap" data-test="url">
1515
<tbody>

0 commit comments

Comments
 (0)