mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX]web_easy_switch_company: Added scroll.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
.switch_company_menu {
|
||||
height: auto;
|
||||
max-height: 50vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -29,7 +29,7 @@
|
||||
</span>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<ul class="dropdown-menu switch_company_menu">
|
||||
<t t-foreach="widget.companies" t-as="company">
|
||||
<li>
|
||||
<a class="easy_switch_company_company_item"
|
||||
@@ -47,4 +47,3 @@
|
||||
</t>
|
||||
|
||||
</template>
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<template id="assets_backend" name="web_easy_switch_company assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/web_easy_switch_company/static/src/js/switch_company.js"></script>
|
||||
<link rel="stylesheet" href="/web_easy_switch_company/static/src/css/switch_company.css"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user