From 7547d850cc7c7fb3cd1fd4629f9722c776e388a9 Mon Sep 17 00:00:00 2001 From: abhisheks <abhisheks@consultbop.com> Date: Fri, 5 Jan 2024 11:39:11 +0530 Subject: [PATCH] refactor: add padding for select input type --- templates/_partials/form-fields.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_partials/form-fields.tpl b/templates/_partials/form-fields.tpl index 781646a..396746a 100644 --- a/templates/_partials/form-fields.tpl +++ b/templates/_partials/form-fields.tpl @@ -41,7 +41,7 @@ {if $field.type === 'select'} {block name='form_field_item_select'} - <select class="form-control form-control-select" name="{$field.name}" {if $field.required}required{/if}> + <select class="form-control form-control-select px-2 py-1 border-gray-300 w-full" name="{$field.name}" {if $field.required}required{/if}> <option value disabled selected>{l s='-- please choose --' d='Shop.Forms.Labels'}</option> {foreach from=$field.availableValues item="label" key="value"} <option value="{$value}" {if $value eq $field.value} selected {/if}>{$label}</option> @@ -53,7 +53,7 @@ {block name='form_field_item_country'} <select - class="form-control form-control-select js-country" + class="form-control form-control-select js-country px-2 py-1 border-gray-300 w-full" name="{$field.name}" {if $field.required}required{/if} >