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