feat: better file input chooser

This commit is contained in:
liyasthomas
2022-01-01 01:03:13 +05:30
parent e56dcf5d7a
commit 312bc98c53
2 changed files with 67 additions and 103 deletions

View File

@@ -1,12 +1,7 @@
<template>
<span class="chip">
<i class="opacity-75 material-icons">attachment</i>
<span class="px-2 truncate max-w-64"><slot></slot></span>
<ButtonSecondary
class="rounded close-button"
svg="x"
@click.native="$emit('chip-delete')"
/>
<span class="px-2 truncate max-w-32"><slot></slot></span>
</span>
</template>
@@ -21,8 +16,4 @@
@apply bg-transparent;
@apply border border-divider;
}
.close-button {
@apply p-0.5;
}
</style>