build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
30
src/components/Activity/SkeletonActivityItem.vue
Normal file
30
src/components/Activity/SkeletonActivityItem.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="activity-item">
|
||||
<span>
|
||||
<o-skeleton circle width="32px" height="32px"></o-skeleton>
|
||||
</span>
|
||||
<div class="subject">
|
||||
<div class="prose dark:prose-invert">
|
||||
<p>
|
||||
<o-skeleton active></o-skeleton>
|
||||
<o-skeleton active class="datetime"></o-skeleton>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
@import "./activity.scss";
|
||||
div.activity-item {
|
||||
flex: 1;
|
||||
|
||||
.subject {
|
||||
flex: 1;
|
||||
max-width: 600px;
|
||||
|
||||
.content p > div:last-child {
|
||||
max-width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user