Skip to content
Snippets Groups Projects
Verified Commit 231eebe7 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 797f4ecd
Branches
Tags
1 merge request!1383BB 43205: Fix newwin rounding.
......@@ -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