Skip to content
Snippets Groups Projects
Commit 725fcf18 authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #5981 from RocketChat/toolbar-search-small-screen

open sidenav on cmd + p
parents 79ea7f1c c8c09ed2
No related branches found
No related tags found
No related merge requests found
...@@ -2482,6 +2482,7 @@ label.required::after { ...@@ -2482,6 +2482,7 @@ label.required::after {
border-radius: 0; border-radius: 0;
padding: 25px 0 0 8px; padding: 25px 0 0 8px;
direction: rtl; direction: rtl;
text-align: left;
.popup-item { .popup-item {
white-space: nowrap; white-space: nowrap;
......
...@@ -798,6 +798,8 @@ ...@@ -798,6 +798,8 @@
.message-popup.search-results-list { .message-popup.search-results-list {
direction: ltr; direction: ltr;
text-align: right;
padding: 25px 8px 0 0;
.popup-item { .popup-item {
direction: rtl; direction: rtl;
......
...@@ -26,5 +26,5 @@ ...@@ -26,5 +26,5 @@
</template> </template>
<template name="toolbarSearchListEmpty"> <template name="toolbarSearchListEmpty">
{{_ "Room_not_found"}} {{_ "No_results_found"}}
</template> </template>
...@@ -14,6 +14,7 @@ const toolbarSearch = { ...@@ -14,6 +14,7 @@ const toolbarSearch = {
}, },
focus() { focus() {
menu.open();
$('.toolbar-search__input').focus(); $('.toolbar-search__input').focus();
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment