feat: Update design for campaign (#7668)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Pranav Raj S
2023-08-04 11:39:59 -07:00
committed by GitHub
parent 2a1662c781
commit fde2b180fe
6 changed files with 150 additions and 262 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="row--user-block">
<div class="flex items-center text-left">
<thumbnail
:src="user.thumbnail"
:size="size"
@@ -7,7 +7,8 @@
:status="user.availability_status"
/>
<h6
class="text-block-title user-name overflow-hidden whitespace-nowrap text-ellipsis text-capitalize"
class="my-0 mx-2 dark:text-slate-100 overflow-hidden whitespace-nowrap text-ellipsis text-capitalize"
:class="textClass"
>
{{ user.name }}
</h6>
@@ -29,16 +30,10 @@ export default {
type: String,
default: '20px',
},
textClass: {
type: String,
default: 'text-xs text-slate-600',
},
},
};
</script>
<style scoped lang="scss">
.row--user-block {
@apply items-center flex text-left;
.user-name {
@apply my-0 mx-2 text-slate-700 dark:text-slate-100;
}
}
</style>