mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
chore: 🎨 format
This commit is contained in:
parent
7096b6b7a6
commit
d0058174bc
2 changed files with 4 additions and 6 deletions
|
@ -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 a new issue