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