-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][IMP] shopfloor_delivery_shipment_mobile: have long package name fit on one line #688
Conversation
Hi @simahawk, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess sh_
in commit msg was meant to be sf_
?
@@ -457,6 +457,10 @@ main.v-content > .v-content__wrap > .header .container { | |||
line-height: 1.1rem; | |||
} | |||
|
|||
.v-card .v-card__title-smaller { | |||
font-size: 0.9rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not ensure the name fits... no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No but it is more likely. Maybe the name of the pr should be changed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TDu Can you try with something similar to this exemple: https://jsfiddle.net/hymbof7o/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know about the vw
unit. It stands for View Width (1vw is 1% of the width of the viewport). That will not help.
As for the whitespace: nowrap;
it will not wrap the text to the next line, but it will not dynamically resize the content to fit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we considered @container?
https://developer.mozilla.org/en-US/docs/Web/CSS/@container
@@ -457,6 +457,10 @@ main.v-content > .v-content__wrap > .header .container { | |||
line-height: 1.1rem; | |||
} | |||
|
|||
.v-card .v-card__title-smaller { | |||
font-size: 0.9rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we considered @container?
https://developer.mozilla.org/en-US/docs/Web/CSS/@container
@TDu Fix commit messages. Replace |
71a060a
to
8e21cdc
Compare
@jbaudoux I added a comment and fix the commit message |
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
@jbaudoux your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-688-by-jbaudoux-bump-minor. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
/ocabot rebase |
@jbaudoux The rebase process failed, because command
|
@TDu Can you rebase? |
Allows to set a class on the detail card title. And one is added to the css to have smaller font.
8e21cdc
to
61fa0b1
Compare
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
This PR has the |
Congratulations, your PR was merged at 48894cf. Thanks a lot for contributing to OCA. ❤️ |
ref.: rau-180