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

@@ -77,7 +77,7 @@
"
/>
<SmartItem
icon="delete"
icon="remove_circle_outline"
color="red"
:label="$t('delete')"
@click.native="
@@ -186,7 +186,7 @@ export default Vue.extend({
)
},
getCollectionIcon() {
if (this.isSelected) return "check_circle"
if (this.isSelected) return "check_circle_outline"
else if (!this.showChildren && !this.isFiltered) return "arrow_right"
else if (this.showChildren || this.isFiltered) return "arrow_drop_down"
else return "folder"

View File

@@ -73,7 +73,7 @@
"
/>
<SmartItem
icon="delete"
icon="remove_circle_outline"
color="red"
:label="$t('delete')"
@click.native="
@@ -184,7 +184,7 @@ export default Vue.extend({
)
},
getCollectionIcon() {
if (this.isSelected) return "check_circle"
if (this.isSelected) return "check_circle_outline"
else if (!this.showChildren && !this.isFiltered) return "arrow_right"
else if (this.showChildren || this.isFiltered) return "arrow_drop_down"
else return "folder"

View File

@@ -21,7 +21,7 @@
@click="!doc ? selectRequest() : {}"
>
<i class="material-icons" :class="{ 'text-green-500': isSelected }">
{{ isSelected ? "check_circle" : "description" }}
{{ isSelected ? "check_circle_outline" : "description" }}
</i>
</span>
<span
@@ -75,7 +75,7 @@
"
/>
<SmartItem
icon="delete"
icon="remove_circle_outline"
color="red"
:label="$t('delete')"
@click.native="

View File

@@ -20,8 +20,6 @@
py-2
pr-2
pl-9
truncate
focus:outline-none
"
/>
</div>