Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] fix(LeftSidebar): remove outdated style #14230

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<template>
<NcAppNavigation ref="leftSidebar" :aria-label="t('spreed', 'Conversation list')">
<template #search>
<div class="new-conversation"
:class="{ 'new-conversation--scrolled-down': !isScrolledToTop }">
<div class="new-conversation">
<div class="conversations-search"
:class="{'conversations-search--expanded': isFocused}">
<SearchBox ref="searchBox"
Expand Down Expand Up @@ -473,8 +472,6 @@ export default {
debounceFetchSearchResults: () => {},
debounceFetchConversations: () => {},
debounceHandleScroll: () => {},
// Keeps track of whether the conversation list is scrolled to the top or not
isScrolledToTop: true,
refreshTimer: null,
/**
* @type {number|null}
Expand Down Expand Up @@ -964,7 +961,6 @@ export default {
// Checks whether the conversations list is scrolled all the way to the top
// or not
handleScroll() {
this.isScrolledToTop = this.$refs.scroller.$el.scrollTop === 0
this.handleUnreadMention()
},

Expand Down Expand Up @@ -1054,11 +1050,6 @@ export default {
display: flex;
margin: calc(var(--default-grid-baseline) * 2);
align-items: center;
border-bottom: 1px solid transparent;

&--scrolled-down {
border-bottom-color: var(--color-placeholder-dark);
}

.filters {
position: absolute;
Expand Down
Loading