From 781a1a95b48de07347a5e0d7f026d34e46e16e7d Mon Sep 17 00:00:00 2001
From: NeOMakinG
Date: Mon, 2 Jan 2023 12:03:46 +0100
Subject: [PATCH] Review feedbacks
---
src/scss/core/components/_search.scss | 3 +--
src/scss/core/layout/_header.scss | 2 +-
templates/_partials/form-fields.tpl | 14 +++++++-------
templates/customer/_partials/order-messages.tpl | 4 +---
4 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/scss/core/components/_search.scss b/src/scss/core/components/_search.scss
index 43ed5dc67..ce0b6fe9d 100644
--- a/src/scss/core/components/_search.scss
+++ b/src/scss/core/components/_search.scss
@@ -99,8 +99,7 @@ $component-name: search;
&__results {
max-height: 20rem;
- padding: 0.5rem;
- padding-right: 1.5rem;
+ padding: 0.5rem 1.5rem 0.5rem 0.5rem;
margin: 0;
overflow-y: scroll;
}
diff --git a/src/scss/core/layout/_header.scss b/src/scss/core/layout/_header.scss
index 7ee00fa0f..99075b4c4 100644
--- a/src/scss/core/layout/_header.scss
+++ b/src/scss/core/layout/_header.scss
@@ -13,7 +13,7 @@ $component-name: header;
max-width: 100vw;
background-color: var(--header-bg);
- a:not(.dropdown-item) {
+ a:not(.dropdown-item):not(.btn) {
color: var(--header-color);
&:hover {
diff --git a/templates/_partials/form-fields.tpl b/templates/_partials/form-fields.tpl
index f8b98dede..9f637369f 100644
--- a/templates/_partials/form-fields.tpl
+++ b/templates/_partials/form-fields.tpl
@@ -12,7 +12,7 @@
{if ($field.type !== 'checkbox')}
-
@@ -77,11 +77,11 @@
name="{$field.name}"
type="checkbox"
value="1"
- id="{$field.name}"
+ id="field-{$field.name}"
value="1" {if $field.value}checked="checked"{/if}
{if $field.required}required{/if}
>
-
+
{$field.label nofilter}
@@ -128,7 +128,7 @@
{$message.name}
{$message.message_date}
-
- {$message.message nofilter}
-
+ {$message.message nofilter}
{/foreach}