Skip to content

Commit b453cb1

Browse files
committed
Minor ui changes.
1 parent 5bb5e1c commit b453cb1

File tree

4 files changed

+31
-12
lines changed

4 files changed

+31
-12
lines changed

packages/Webkul/Admin/publishable/assets/css/admin.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/Webkul/Admin/publishable/assets/mix-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/js/admin.js": "/js/admin.js?id=ded43dfc84d1a6b469709c56aeee570a",
3-
"/css/admin.css": "/css/admin.css?id=7b0ac9810258e4ee35be6823da12abaa",
3+
"/css/admin.css": "/css/admin.css?id=16ecd198f0b86192d409eb3bac6fa3b8",
44
"/images/activities-active-icon.svg": "/images/activities-active-icon.svg?id=f7887e3fdcddf68567ceca8facc1e40e",
55
"/images/activities-icon.svg": "/images/activities-icon.svg?id=0755224d86e0281d031f938b2aa1d610",
66
"/images/attribute-icon.svg": "/images/attribute-icon.svg?id=8f9f3e0e90496263403fc26efef8614d",

packages/Webkul/Admin/src/Resources/assets/sass/app.scss

+22-1
Original file line numberDiff line numberDiff line change
@@ -2549,7 +2549,28 @@ input[type=radio] {
25492549
clear: both;
25502550
}
25512551

2552-
.help{
2552+
.webhook-headers {
2553+
display: flex;
2554+
gap: 5px;
2555+
align-items: center;
2556+
2557+
.webhook-header-items{
2558+
display: flex;
2559+
gap: 5px;
2560+
}
2561+
2562+
.remove-header {
2563+
margin-bottom: 20px;
2564+
}
2565+
}
2566+
2567+
.webhook-request-body {
2568+
display: flex;
2569+
gap: 10px;
2570+
align-items: center;
2571+
}
2572+
2573+
.help {
25532574
font-style: italic;
25542575
font-size: 16px;
25552576
}

packages/Webkul/Admin/src/Resources/views/settings/workflows/webhook/index.blade.php

+7-9
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class="control"
3030

3131
<div
3232
v-for="(header, idx) in headers"
33-
style="display: flex; gap: 5px; align-items: center;"
33+
class="webhook-headers"
3434
>
35-
<div style="display: flex; gap: 5px;">
35+
<div class="webhook-header-items">
3636
<div class="form-group">
3737
<input
3838
type="text"
@@ -57,14 +57,13 @@ class="control"
5757
</div>
5858

5959
<div>
60-
<i class="icon trash-icon" @click="$delete(headers, idx)"></i>
60+
<i class="icon trash-icon remove-header" @click="$delete(headers, idx)"></i>
6161
</div>
6262
</div>
6363

6464
<button
6565
type="button"
6666
class="btn btn-primary"
67-
style=" margin-top: 10px; margin-bottom: 10px;"
6867
@click="addHeader"
6968
>
7069
{{ __('admin::app.settings.workflows.add_header') }}
@@ -91,7 +90,6 @@ class="control"
9190

9291
<div
9392
class="form-group"
94-
style="margin-top: 10px;"
9593
v-if="action.hook.method != 'get' && action.hook.method != 'delete'"
9694
>
9795
<label>{{ __('admin::app.settings.workflows.request_body') }}</label>
@@ -108,7 +106,7 @@ class="form-group"
108106
<div
109107
v-for="(lead, leadIndex) in leads"
110108
:key="lead.id"
111-
style="display: flex; gap: 10px; align-items: center;"
109+
class="webhook-request-body"
112110
>
113111
<input
114112
type="checkbox"
@@ -129,7 +127,7 @@ class="form-group"
129127
<div
130128
v-for="(person, personIndex) in persons"
131129
:key="person.id"
132-
style="display: flex; gap: 10px; align-items: center;"
130+
class="webhook-request-body"
133131
>
134132
<input
135133
type="checkbox"
@@ -148,7 +146,7 @@ class="form-group"
148146
<div
149147
v-for="(quote, quoteIndex) in quotes"
150148
:key="quote.id"
151-
style="display: flex; gap: 10px; align-items: center;"
149+
class="webhook-request-body"
152150
>
153151
<input
154152
type="checkbox"
@@ -168,7 +166,7 @@ class="form-group"
168166
<div
169167
v-for="(activity, activityIndex) in activities"
170168
:key="activity.id"
171-
style="display: flex; gap: 10px; align-items: center;"
169+
class="webhook-request-body"
172170
>
173171
<input
174172
type="checkbox"

0 commit comments

Comments
 (0)