From f0d6e79c7e6ccf27ac7f7ff3ed5ce60b1fed9a9e Mon Sep 17 00:00:00 2001 From: Asad Nur Date: Fri, 1 Sep 2023 11:50:11 +0600 Subject: [PATCH 001/100] feat: Product form custom validation. Added support to settings section toggle input. --- src/admin/components/Fields.vue | 74 +++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 22 deletions(-) diff --git a/src/admin/components/Fields.vue b/src/admin/components/Fields.vue index b73eb2771a..7573edcc46 100644 --- a/src/admin/components/Fields.vue +++ b/src/admin/components/Fields.vue @@ -2,10 +2,29 @@
@@ -853,29 +872,40 @@ border: 1px solid #f3f4f6; border-bottom: 0; background: #f9fafb; + display: flex; + justify-content: space-between; - .sub-section-title { - margin: 0; - font-size: 14px; - font-family: Roboto, sans-serif; - font-weight: 600; - line-height: 1.2; - margin-bottom: 8px; - } + .sub-section-text { + display: flex; + flex-direction: column; - .sub-section-description { - margin: 0; - font-size: 13px; - font-weight: 300; - line-height: 21px; - font-family: Roboto, sans-serif; - color: #6B7280; + .sub-section-title { + margin: 0; + font-size: 14px; + font-family: Roboto, sans-serif; + font-weight: 600; + line-height: 1.2; + margin-bottom: 8px; + } - .learn-more-btn { - cursor: pointer; - text-decoration: none; + .sub-section-description { + margin: 0; + font-size: 13px; + font-weight: 300; + line-height: 21px; + font-family: Roboto, sans-serif; + color: #6B7280; + + .learn-more-btn { + cursor: pointer; + text-decoration: none; + } } } + + .sub-section-input { + align-self: center; + } } .field_contents.data_clear { background-color: #FFFBF3; From 2dbcde190614762a879e6916a1264f5170f6ae1d Mon Sep 17 00:00:00 2001 From: Asad Nur Date: Mon, 4 Sep 2023 16:00:45 +0600 Subject: [PATCH 002/100] enhance: Added reset all button to the admin settings component --- src/admin/pages/Settings.vue | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/admin/pages/Settings.vue b/src/admin/pages/Settings.vue index 0b08be66f2..4f652da3e4 100644 --- a/src/admin/pages/Settings.vue +++ b/src/admin/pages/Settings.vue @@ -49,6 +49,9 @@ +