-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[FIX] sign_oca: restricted company logo max-height to prevent l… #103
base: 17.0
Are you sure you want to change the base?
Conversation
…arge logos from affecting the size of the signing area
Hi @etobella, |
Isn't this still deforming images? What about |
I don't think it would deform images, image deformation occurs when you change the aspect ratio of the image, here, we're simply restricting the height of the logo so that it wouldn't affect the signing area. In a signing module, what are your priorities? Even deforming the logo a little bit is fine as long as the signing area is big enough. An example of the problem this fixes: |
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.
OK then
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.
As stated on #100, use max-height, not height. If you use height with a small logo, the logo will be pixeled.
You will receive the same benefits but other people will not have problems.
Also, fix the commit name (you don't need the [17.0] on the commit, just on the Pull REquest. If possible, avoid two PR, just ammend the current and push force to replace the current commit.
For example, to fix this you could use:
git commit --amend
git push -f
…ogos from affecting the size of the signing area
Silly me thought I used max-height in this PR. Updated. |
…arge logos from affecting the size of the signing area