refactor: remove absolute classes

This commit is contained in:
liyasthomas
2021-08-17 12:56:36 +05:30
parent 3534e133af
commit 956ca44ef0
55 changed files with 269 additions and 404 deletions

View File

@@ -53,7 +53,6 @@
flex-1
py-1
px-4
focus:outline-none
"
@change="
updateBodyParam(index, {
@@ -66,14 +65,7 @@
/>
<input
v-else
class="
bg-primaryLight
flex flex-1
py-2
px-4
truncate
focus:outline-none
"
class="bg-primaryLight flex flex-1 py-2 px-4"
:placeholder="$t('count.parameter', { count: index + 1 })"
:name="'param' + index"
:value="param.key"
@@ -109,7 +101,6 @@
flex-1
py-1
px-4
focus:outline-none
"
@change="
updateBodyParam(index, {
@@ -122,14 +113,7 @@
/>
<input
v-else
class="
bg-primaryLight
flex flex-1
py-2
px-4
truncate
focus:outline-none
"
class="bg-primaryLight flex flex-1 py-2 px-4"
:placeholder="$t('count.value', { count: index + 1 })"
:name="'value' + index"
:value="param.value"
@@ -173,9 +157,9 @@
:icon="
param.hasOwnProperty('active')
? param.active
? 'check_box'
: 'check_box_outline_blank'
: 'check_box'
? 'check_circle_outline'
: 'radio_button_unchecked'
: 'check_circle_outline'
"
color="green"
@click.native="
@@ -192,7 +176,7 @@
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('delete')"
icon="delete"
icon="remove_circle_outline"
color="red"
@click.native="deleteBodyParam(index)"
/>