mirror of https://github.com/OCA/web.git
[IMP] web_responsive: Support long titles
parent
66bffe3991
commit
2be4a248d2
|
@ -126,6 +126,7 @@ Known issues / Roadmap
|
||||||
new size. This is Odoo's own limitation.
|
new size. This is Odoo's own limitation.
|
||||||
* App navigation with keyboard.
|
* App navigation with keyboard.
|
||||||
* Make it more beautiful. Maybe OCA-branded?
|
* Make it more beautiful. Maybe OCA-branded?
|
||||||
|
* Handle long titles on forms in a better way
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
new size. This is Odoo's own limitation.
|
new size. This is Odoo's own limitation.
|
||||||
* App navigation with keyboard.
|
* App navigation with keyboard.
|
||||||
* Make it more beautiful. Maybe OCA-branded?
|
* Make it more beautiful. Maybe OCA-branded?
|
||||||
|
* Handle long titles on forms in a better way
|
||||||
|
|
|
@ -463,6 +463,7 @@ you should reload the web client to get the full experience for that
|
||||||
new size. This is Odoo’s own limitation.</li>
|
new size. This is Odoo’s own limitation.</li>
|
||||||
<li>App navigation with keyboard.</li>
|
<li>App navigation with keyboard.</li>
|
||||||
<li>Make it more beautiful. Maybe OCA-branded?</li>
|
<li>Make it more beautiful. Maybe OCA-branded?</li>
|
||||||
|
<li>Handle long titles on forms in a better way</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
|
|
|
@ -16,6 +16,15 @@
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Support for long titles
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
.o_form_view .oe_button_box + .oe_title,
|
||||||
|
.o_form_view .oe_button_box + .oe_avatar + .oe_title {
|
||||||
|
/* Button-box has a hardcoded width of 132px per button and have three columns */
|
||||||
|
width: calc(100% - 450px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Main navbar (with apps menu, user menu, debug menu...)
|
// Main navbar (with apps menu, user menu, debug menu...)
|
||||||
@include media-breakpoint-down(sm) {
|
@include media-breakpoint-down(sm) {
|
||||||
.o_main_navbar {
|
.o_main_navbar {
|
||||||
|
@ -345,8 +354,6 @@ html .o_web_client .o_action_manager .o_action {
|
||||||
|
|
||||||
// Support for long title (with ellipsis)
|
// Support for long title (with ellipsis)
|
||||||
.oe_title {
|
.oe_title {
|
||||||
width: initial;
|
|
||||||
|
|
||||||
span.o_field_widget {
|
span.o_field_widget {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -377,6 +384,11 @@ html .o_web_client .o_action_manager .o_action {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.oe_button_box + .oe_title,
|
||||||
|
.oe_button_box + .oe_avatar + .oe_title {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
// Avoid overflow on modals
|
// Avoid overflow on modals
|
||||||
.o_form_sheet {
|
.o_form_sheet {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
|
|
Loading…
Reference in New Issue