chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-07-01 20:46:33 -07:00
parent cf3c3e8234
commit 3d8fe32ef4
No known key found for this signature in database
GPG key ID: 8703CACD01000000
6 changed files with 11 additions and 9 deletions

View file

@ -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();
}

View file

@ -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>

View file

@ -23,7 +23,7 @@
ref="tlComponent"
:no-gap="!$store.state.showGapBetweenNotesInTimeline"
:pagination="pagination"
@queue="(x) => queue = x"
@queue="(x) => (queue = x)"
/>
</template>

View file

@ -126,7 +126,7 @@ definePageMetadata(
<style lang="scss" scoped>
.tqmomfks {
padding: var(--margin);
> .tl {
background: none;
border-radius: var(--radius);

View file

@ -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);
}
}

View file

@ -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();