You can enlarge the area by changing
So create one css file inside your_module/static/src/css folder and add following code:
max-width
value of .openerp .oe_topbar .oe_topbar_name
class which is inside base.css
file. For that you have to overwrite that class.So create one css file inside your_module/static/src/css folder and add following code:
@charset "utf-8";
.openerp .oe_topbar .oe_topbar_name {
max-width: 190px;
overflow: hidden;
display: inline-block;
max-height: 100%;
text-overflow: ellipsis;
white-space: nowrap;
}
Go to __openerp__.py
and add your css file under css
like this:
'css': [ 'static/src/css/my.css', ],
Now, restart your server and refresh the page.Here,max-width: 150px;
was given inbase.css
and now we are changing it's value as per our need. I changed it by190px
. You can change it to any value which is suitable to you.
No comments:
Post a Comment