chore: 🎨 format
This commit is contained in:
parent
cf3c3e8234
commit
3d8fe32ef4
6 changed files with 11 additions and 9 deletions
|
@ -67,9 +67,8 @@ function chosen(emoji: any) {
|
|||
function opening() {
|
||||
try {
|
||||
picker.value?.reset();
|
||||
}
|
||||
catch (e) {
|
||||
console.error(`Something's wrong with restting the emoji picker: ${e}`)
|
||||
} catch (e) {
|
||||
console.error(`Something's wrong with restting the emoji picker: ${e}`);
|
||||
}
|
||||
picker.value?.focus();
|
||||
}
|
||||
|
|
|
@ -53,12 +53,12 @@ const props = defineProps<{
|
|||
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
|
||||
|
||||
function scrollTop() {
|
||||
scroll(tlEl.value, { top: 0, behavior: 'smooth' })
|
||||
scroll(tlEl.value, { top: 0, behavior: "smooth" });
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
pagingComponent,
|
||||
scrollTop
|
||||
scrollTop,
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
ref="tlComponent"
|
||||
:no-gap="!$store.state.showGapBetweenNotesInTimeline"
|
||||
:pagination="pagination"
|
||||
@queue="(x) => queue = x"
|
||||
@queue="(x) => (queue = x)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
<div
|
||||
ref="bannerEl"
|
||||
class="banner"
|
||||
:style="{ backgroundImage: `url('${user.bannerUrl}')` }"
|
||||
:style="{
|
||||
backgroundImage: `url('${user.bannerUrl}')`,
|
||||
}"
|
||||
></div>
|
||||
<div class="fade"></div>
|
||||
<div class="title">
|
||||
|
@ -510,7 +512,7 @@ onUnmounted(() => {
|
|||
background-size: cover;
|
||||
background-position: center;
|
||||
pointer-events: none;
|
||||
filter: blur(12px) opacity(.1);
|
||||
filter: blur(12px) opacity(0.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ const monthP = ref(0);
|
|||
const dayP = ref(0);
|
||||
const isHoliday = ref(false);
|
||||
const isBirthday = ref(false);
|
||||
|
||||
const tick = () => {
|
||||
const now = new Date();
|
||||
const nd = now.getDate();
|
||||
|
|
Loading…
Reference in a new issue