Revert "notes (#10067)"
This reverts commit84f904516c
, reversing changes made to0c742929a5
.
This commit is contained in:
parent
84f904516c
commit
08ceb5e082
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-google" @click.stop>
|
<div class="mk-google">
|
||||||
<input v-model="query" type="search" :placeholder="q" />
|
<input v-model="query" type="search" :placeholder="q" />
|
||||||
<button @click="search">
|
<button @click="search">
|
||||||
<i class="ph-magnifying-glass ph-bold ph-lg"></i>
|
<i class="ph-magnifying-glass ph-bold ph-lg"></i>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
v-for="media in mediaList.filter((media) => !previewable(media))"
|
v-for="media in mediaList.filter((media) => !previewable(media))"
|
||||||
:key="media.id"
|
:key="media.id"
|
||||||
:media="media"
|
:media="media"
|
||||||
@click.stop
|
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
v-if="mediaList.filter((media) => previewable(media)).length > 0"
|
v-if="mediaList.filter((media) => previewable(media)).length > 0"
|
||||||
|
@ -16,6 +15,7 @@
|
||||||
:data-count="
|
:data-count="
|
||||||
mediaList.filter((media) => previewable(media)).length
|
mediaList.filter((media) => previewable(media)).length
|
||||||
"
|
"
|
||||||
|
@click.stop
|
||||||
>
|
>
|
||||||
<template
|
<template
|
||||||
v-for="media in mediaList.filter((media) =>
|
v-for="media in mediaList.filter((media) =>
|
||||||
|
@ -26,7 +26,6 @@
|
||||||
v-if="media.type.startsWith('video')"
|
v-if="media.type.startsWith('video')"
|
||||||
:key="media.id"
|
:key="media.id"
|
||||||
:video="media"
|
:video="media"
|
||||||
@click.stop
|
|
||||||
/>
|
/>
|
||||||
<XImage
|
<XImage
|
||||||
v-else-if="media.type.startsWith('image')"
|
v-else-if="media.type.startsWith('image')"
|
||||||
|
@ -35,7 +34,6 @@
|
||||||
:data-id="media.id"
|
:data-id="media.id"
|
||||||
:image="media"
|
:image="media"
|
||||||
:raw="raw"
|
:raw="raw"
|
||||||
@click.stop
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -471,6 +471,9 @@ onUnmounted(() => {
|
||||||
> .article {
|
> .article {
|
||||||
padding-block: 28px 6px;
|
padding-block: 28px 6px;
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
|
&:last-child {
|
||||||
|
padding-bottom: 24px;
|
||||||
|
}
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
@ -478,9 +481,6 @@ onUnmounted(() => {
|
||||||
:deep(.article) {
|
:deep(.article) {
|
||||||
cursor: unset;
|
cursor: unset;
|
||||||
}
|
}
|
||||||
&:first-of-type {
|
|
||||||
padding-top: 28px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> .reply {
|
> .reply {
|
||||||
|
|
Loading…
Reference in New Issue