[FIX] web_responsive: Hide search panel on small screens

pull/1819/head
Alexandre D. Díaz 2020-11-27 12:50:16 +01:00 committed by Splash
parent f140935778
commit 2348633fb2
6 changed files with 22 additions and 1 deletions

View File

@ -62,6 +62,10 @@ Features for mobile:
.. image:: https://user-images.githubusercontent.com/973709/50965168-1d0ec500-14c9-11e9-82a0-dfee82ed0861.gif
* Search panel is hidden on small screens.
.. image:: https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/search_panel.gif
Features for computers:
* Keyboard shortcuts for easier navigation, **using ``Alt + Shift + [key]``**

View File

@ -6,7 +6,7 @@
{
"name": "Web Responsive",
"summary": "Responsive web client, community-supported",
"version": "13.0.2.3.0",
"version": "13.0.2.4.0",
"category": "Website",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, " "Odoo Community Association (OCA)",

View File

@ -35,6 +35,10 @@ Features for mobile:
.. image:: https://user-images.githubusercontent.com/973709/50965168-1d0ec500-14c9-11e9-82a0-dfee82ed0861.gif
* Search panel is hidden on small screens.
.. image:: ../static/img/search_panel.gif
Features for computers:
* Keyboard shortcuts for easier navigation, **using ``Alt + Shift + [key]``**

View File

@ -398,6 +398,9 @@ Other control panel buttons use icons to save space.</p>
<li><p class="first">Breadcrumbs navigation is collapsed with a “back arrow” button.</p>
<img alt="https://user-images.githubusercontent.com/973709/50965168-1d0ec500-14c9-11e9-82a0-dfee82ed0861.gif" src="https://user-images.githubusercontent.com/973709/50965168-1d0ec500-14c9-11e9-82a0-dfee82ed0861.gif" />
</li>
<li><p class="first">Search panel is hidden on small screens.</p>
<img alt="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/search_panel.gif" src="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/search_panel.gif" />
</li>
</ul>
<p>Features for computers:</p>
<ul>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 MiB

View File

@ -747,3 +747,13 @@ html .o_web_client .o_action_manager .o_action {
}
}
}
// Search Panel
@include media-breakpoint-down(sm) {
// Hide search panel
.o_controller_with_searchpanel {
.o_search_panel {
display: none;
}
}
}