diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 17:28:20 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 17:28:20 +0900 |
| commit | 7c06ffc4226bed945b252eb38e108ff6b85b5e93 (patch) | |
| tree | 8d89d78c8250444339024639d0b24e5adf0306b2 /packages | |
| parent | clean up (diff) | |
| download | sharkey-7c06ffc4226bed945b252eb38e108ff6b85b5e93.tar.gz sharkey-7c06ffc4226bed945b252eb38e108ff6b85b5e93.tar.bz2 sharkey-7c06ffc4226bed945b252eb38e108ff6b85b5e93.zip | |
refactor
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/components/MkPullToRefresh.vue | 9 | ||||
| -rw-r--r-- | packages/frontend/src/pages/timeline.vue | 27 |
2 files changed, 15 insertions, 21 deletions
diff --git a/packages/frontend/src/components/MkPullToRefresh.vue b/packages/frontend/src/components/MkPullToRefresh.vue index b1df282514..22ae563d13 100644 --- a/packages/frontend/src/components/MkPullToRefresh.vue +++ b/packages/frontend/src/components/MkPullToRefresh.vue @@ -16,9 +16,8 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </div> </div> - <div :class="{ [$style.slotClip]: isPullStart }"> - <slot/> - </div> + + <slot/> </div> </template> @@ -261,8 +260,4 @@ defineExpose({ margin: 5px 0; } } - -.slotClip { - overflow-y: clip; -} </style> diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 1226ebeab3..fd6c4279fa 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -13,20 +13,19 @@ SPDX-License-Identifier: AGPL-3.0-only </MkInfo> <MkPostForm v-if="prefer.r.showFixedPostForm.value" :class="$style.postForm" class="_panel" fixed style="margin-bottom: var(--MI-margin);"/> <div v-if="queue > 0" :class="$style.new"><button class="_buttonPrimary" :class="$style.newButton" @click="top()">{{ i18n.ts.newNoteRecived }}</button></div> - <div :class="$style.tl"> - <MkTimeline - ref="tlComponent" - :key="src + withRenotes + withReplies + onlyFiles + withSensitive" - :src="src.split(':')[0]" - :list="src.split(':')[1]" - :withRenotes="withRenotes" - :withReplies="withReplies" - :withSensitive="withSensitive" - :onlyFiles="onlyFiles" - :sound="true" - @queue="queueUpdated" - /> - </div> + <MkTimeline + ref="tlComponent" + :key="src + withRenotes + withReplies + onlyFiles + withSensitive" + :class="$style.tl" + :src="src.split(':')[0]" + :list="src.split(':')[1]" + :withRenotes="withRenotes" + :withReplies="withReplies" + :withSensitive="withSensitive" + :onlyFiles="onlyFiles" + :sound="true" + @queue="queueUpdated" + /> </MkSpacer> </MkStickyContainer> </div> |