[FIX] account: width of scrollbar in account searchpanel
When there is a lot of data to be displayed in the searchpanel, the scrollbar appears. The with of the scrollbar takes too much space compared to the width of the custom searchpanel. This commit reduces the size for Chrome and Firefox >= 64 closes odoo/odoo#36758 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.o_search_panel.account_root {
|
||||
flex: 0 0 48px;
|
||||
padding: 6px;
|
||||
scrollbar-width: thin;
|
||||
.o_search_panel_section_header {
|
||||
display: none;
|
||||
}
|
||||
@@ -11,4 +12,10 @@
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
&::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: lightgray;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user