chore: 🎨 format
This commit is contained in:
parent
102b57424e
commit
f3aa965c38
|
@ -1,9 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<section class="ssazuxis">
|
<section class="ssazuxis">
|
||||||
<header
|
<header class="_button" @click="showBody = !showBody">
|
||||||
class="_button"
|
|
||||||
@click="showBody = !showBody"
|
|
||||||
>
|
|
||||||
<div class="title"><slot name="header"></slot></div>
|
<div class="title"><slot name="header"></slot></div>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -93,7 +93,8 @@ const props = defineProps<{
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
let isLong = $ref(
|
let isLong = $ref(
|
||||||
props.detailed && props.user.description &&
|
props.detailed &&
|
||||||
|
props.user.description &&
|
||||||
(props.user.description.split("\n").length > 9 ||
|
(props.user.description.split("\n").length > 9 ||
|
||||||
props.user.description.length > 400),
|
props.user.description.length > 400),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue