Browse Source

refactor(gui-v2): ui improvements

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2730/head
Pranav C 2 years ago
parent
commit
ad4a92d9f0
  1. 6
      packages/nc-gui-v2/pages/index/index/index.vue

6
packages/nc-gui-v2/pages/index/index/index.vue

@ -34,7 +34,7 @@ const formatTitle = (title: string) =>
</script> </script>
<template> <template>
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 3xl:grid-cols-6 gap-6 md:(gap-y-16)"> <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 3xl:grid-cols-8 gap-6 md:(gap-y-16)">
<div class="group flex flex-col items-center gap-2"> <div class="group flex flex-col items-center gap-2">
<v-menu> <v-menu>
<template #activator="{ props }"> <template #activator="{ props }">
@ -92,7 +92,7 @@ const formatTitle = (title: string) =>
</a-dropdown> </a-dropdown>
</div> </div>
<div class="prose-lg font-semibold"> <div class="prose-lg font-semibold overflow-ellipsis w-full overflow-hidden text-center capitalize">
{{ project.title || 'Untitled' }} {{ project.title || 'Untitled' }}
</div> </div>
</div> </div>
@ -101,7 +101,7 @@ const formatTitle = (title: string) =>
<style scoped> <style scoped>
.thumbnail { .thumbnail {
@apply relative rounded-md opacity-75 font-bold text-white text-[75px] h-[150px] w-full max-w-[150px] shadow-md cursor-pointer uppercase flex items-center justify-center color-transition hover:(after:opacity-100 shadow-none); @apply relative rounded-md opacity-75 font-bold text-white text-[75px] h-[100px] w-full w-[100px] shadow-md cursor-pointer uppercase flex items-center justify-center color-transition hover:(after:opacity-100 shadow-none);
} }
.thumbnail::after { .thumbnail::after {

Loading…
Cancel
Save