Skip to content

Commit

Permalink
商品名が長い時でもモーダルの決定ボタンが中央に表示されるように、本体のスタイルに統一
Browse files Browse the repository at this point in the history
  • Loading branch information
takeuji committed Aug 31, 2022
1 parent 99930dc commit 88ed94e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Resource/template/admin/search_category.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
</td>
<td>
</td>
<td class="text-end">
<button onclick="fnAddCategoryDetail($(this).parent().parent(), {{ id }}, '{{ name|escape('js') }}')" type="button" class="btn btn-default btn-sm">
{{ 'common.ok'|trans }}
<td class="align-middle text-end">
<button onclick="fnAddCategoryDetail($(this).parent().parent(), {{ id }}, '{{ name|escape('js') }}')" type="button" class="btn btn-ec-actionIcon">
<i class="fa fa-plus fa-lg fw-bold text-secondary"></i>
</button>
</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions Resource/template/admin/search_product.twig
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
{% endif %}
</span>
</td>
<td class="text-end">
<button onclick="fnAddProductDetail($(this).parent().parent(), {{ Product.id }}, '{{ Product.name|escape('js') }}')" type="button" class="btn btn-default btn-sm">
{{ 'common.ok'|trans }}
<td class="align-middle text-end">
<button onclick="fnAddProductDetail($(this).parent().parent(), {{ Product.id }}, '{{ Product.name|escape('js') }}')" type="button" class="btn btn-ec-actionIcon">
<i class="fa fa-plus fa-lg fw-bold text-secondary"></i>
</button>
</td>
</tr>
Expand Down

0 comments on commit 88ed94e

Please sign in to comment.