feat: revamp collections ui

This commit is contained in:
liyasthomas
2021-07-08 13:00:41 +05:30
parent 6635d449a5
commit 207dc2b6a6
29 changed files with 821 additions and 579 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="flex group">
<div class="flex items-center group">
<span
class="
font-mono font-bold
@@ -10,14 +10,26 @@
w-12
mx-2
truncate
cursor-pointer
"
:class="entryStatus.className"
:style="{ '--status-code': entry.status }"
@click="$emit('use-entry')"
>
{{ entry.method }}
</span>
<span class="py-3 pr-3 flex flex-1 min-w-0 text-secondaryLight text-xs">
<span
class="
py-3
cursor-pointer
pr-3
flex flex-1
min-w-0
text-secondaryLight text-xs
group-hover:text-secondary
transition
"
@click="$emit('use-entry')"
>
<span class="truncate">
{{ `${entry.url}${entry.path}` }}
</span>