feat: media grid

This commit is contained in:
Anthony Fu 2022-11-14 11:33:09 +08:00
parent 10143fffec
commit c79902a04e
13 changed files with 142 additions and 39 deletions

View file

@ -12,20 +12,22 @@ defineProps<{
<div class="status-body" v-html="sanitize(status.content)" />
</template>
<style>
.status-body a {
--at-apply: text-primary hover:underline;
}
.status-body b {
--at-apply: font-bold;
}
.status-body p {
--at-apply: my-1;
}
.status-body a .invisible {
--at-apply: hidden;
}
.status-body a .ellipsis {
--at-apply: truncate overflow-hidden ws-nowrap;
<style lang="postcss">
.status-body {
a {
--at-apply: text-primary hover:underline;
.invisible {
--at-apply: hidden;
}
.ellipsis {
--at-apply: truncate overflow-hidden ws-nowrap;
}
}
b {
--at-apply: font-bold;
}
p {
--at-apply: my-1;
}
}
</style>