Web: Components: fixed indents

This commit is contained in:
Dmitry Sychugov 2022-03-23 16:08:51 +05:00
parent 5b793b1772
commit 914886b0d4

View File

@ -10,10 +10,10 @@ export const getBannerAttribute = () => {
? rects.height + 40 + "px"
: "48px";
const sectionHeaderMarginTop = bar
? "52px"
? "62px"
: rects
? rects.height - 40 + 36 + "px"
: "52px";
? rects.height - 30 + 36 + "px"
: "62px";
return { headerHeight, sectionHeaderTop, sectionHeaderMarginTop };
};