mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
add new home layout
This commit is contained in:
@@ -146,9 +146,7 @@
|
||||
|
||||
var header = document.getElementById("single_header")
|
||||
var style = getComputedStyle(header);
|
||||
console.log(style, style.height)
|
||||
var margin = '-'+ (parseInt(style.height) + parseInt(style.marginTop) + parseInt(style.marginBottom) + 20) + 'px'
|
||||
console.log(margin)
|
||||
var hero = document.getElementById('hero')
|
||||
if(hero)
|
||||
hero.style["margin-bottom"] = margin;
|
||||
|
||||
Reference in New Issue
Block a user