display mail in iframe, add design for thread and unseen
This commit is contained in:
28
front/src/components/Badge.vue
Normal file
28
front/src/components/Badge.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="wrapper">
|
||||
<slot class="badge" name="body">
|
||||
0
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #4d5970;
|
||||
height: 1.6rem;
|
||||
width: 1.6rem;
|
||||
min-width: 1.6rem;
|
||||
min-height: 1.6rem;
|
||||
border-radius: 1.6rem;
|
||||
}
|
||||
|
||||
.badge {
|
||||
color: #fff;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user