Fix header
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -3508,6 +3508,9 @@ body#authentication {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.elementor-checkbox-label {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.elementor-field-label {
|
.elementor-field-label {
|
||||||
|
|||||||
@@ -199,9 +199,14 @@ jQuery(document).ready(function ($) {
|
|||||||
var $menu = $(this)
|
var $menu = $(this)
|
||||||
dropdownMenuHeight = $menu.outerHeight()
|
dropdownMenuHeight = $menu.outerHeight()
|
||||||
|
|
||||||
var offsetTop = $menu.offset().top
|
// var offsetTop = $menu.offset().top
|
||||||
|
var offsetTop = $('header').height() - 20
|
||||||
|
// console.log('Offset top: ' + offsetTop + 'px',);
|
||||||
|
|
||||||
|
|
||||||
var maxHeight = windowHeight - offsetTop - 30
|
var maxHeight = windowHeight - offsetTop - 30
|
||||||
|
// console.log('Max height: ' + maxHeight + 'px',);
|
||||||
|
|
||||||
|
|
||||||
$menu.css('max-height', maxHeight + 'px')
|
$menu.css('max-height', maxHeight + 'px')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user