Skip to content
Snippets Groups Projects
Verified Commit 602d2c43 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! BB 32308: Use direct browser sizing for letterboxing.

When the dimension is less than 50px, we need to return dimension
itself, rather than a 0px margin.
parent 210e0efb
Branches
No related tags found
No related merge requests found
......@@ -525,7 +525,7 @@ class _RFPHelper {
steppedSize(aDimension, aIsWidth = false) {
let stepping;
if (aDimension <= 50) {
return 0;
return aDimension;
} else if (aDimension <= 500) {
stepping = 50;
} else if (aDimension <= 1600) {
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment