Skip to content

Commit

Permalink
Hide the + button when search field is expanded
Browse files Browse the repository at this point in the history
Signed-off-by: DorraJaouad <[email protected]>
  • Loading branch information
DorraJaouad committed Jul 18, 2023
1 parent 6699449 commit 5a202bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
<!-- New Conversation -->
<NewGroupConversation v-if="canStartConversations"
ref="newGroupConversation"
class="new-conversation__button" />
class="new-conversation__button"
:class="{'hidden-visually': isFocused}" />
</div>

<template #list>
Expand Down Expand Up @@ -753,8 +754,7 @@ export default {
}
&--expanded {
// Gets expanded : 100 % - (52px + 1px)
width : calc(100% - 53px );
width : calc(100% - 8px);
}
}
Expand Down

0 comments on commit 5a202bb

Please sign in to comment.