4c990a4b by Jeremy Groot

mobile fixes

1 parent 602e9256
......@@ -14111,7 +14111,9 @@ li.crumb {
.cert,
.badges {
display: block;
margin-bottom: 70px;
margin-bottom: 30px;
display: flex;
justify-content: center;
}
.badge_container:hover img {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -22895,6 +22895,12 @@
toggleMobileMenu();
});
function init() {
function demobilize() {
$('.header-title').after($('#sault'));
if ($('.article-wrapper .btn_style').length > 0) {
$('.sidemenu ul').prepend($('.article-wrapper .btn_style'));
}
}
function mobilize() {
$('.col-sm-smallMenu').prepend($('#sault'));
if ($('.sidemenu .btn_style').length > 0) {
......@@ -22902,7 +22908,9 @@
}
}
desk.addEventListener('change', event => {
if (event.matches) ; else {
if (event.matches) {
demobilize();
} else {
mobilize();
}
});
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -28,7 +28,10 @@ var Responsive = (function($) {
function init() {
function demobilize() {
$('.header-title').after($('#sault'));
if($('.article-wrapper .btn_style').length > 0) {
$('.sidemenu ul').prepend($('.article-wrapper .btn_style'));
}
}
function mobilize() {
......
......@@ -1096,7 +1096,9 @@ li.crumb {
.cert,
.badges{
display: block;
margin-bottom: 70px;
margin-bottom: 30px;
display: flex;
justify-content: center;
}
.badge_container:hover{
......