|
@@ -271,6 +271,12 @@ const PageHeader = () => {
|
|
|
if (headerRoom){
|
|
if (headerRoom){
|
|
|
if (!barRef.showHeader){
|
|
if (!barRef.showHeader){
|
|
|
offset=headerRoom.clientHeight;
|
|
offset=headerRoom.clientHeight;
|
|
|
|
|
+ const hstyle = window.getComputedStyle(headerRoom);
|
|
|
|
|
+ if (hstyle!=null){
|
|
|
|
|
+ let paddingBottom=hstyle.paddingBottom;
|
|
|
|
|
+ paddingBottom=Number(paddingBottom.replace("px",""));
|
|
|
|
|
+ offset=offset-paddingBottom;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|