mobile fixes
Showing
10 changed files
with
19 additions
and
4 deletions
| ... | @@ -14111,7 +14111,9 @@ li.crumb { | ... | @@ -14111,7 +14111,9 @@ li.crumb { |
| 14111 | .cert, | 14111 | .cert, |
| 14112 | .badges { | 14112 | .badges { |
| 14113 | display: block; | 14113 | display: block; |
| 14114 | margin-bottom: 70px; | 14114 | margin-bottom: 30px; |
| 14115 | display: flex; | ||
| 14116 | justify-content: center; | ||
| 14115 | } | 14117 | } |
| 14116 | 14118 | ||
| 14117 | .badge_container:hover img { | 14119 | .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 @@ | ... | @@ -22895,6 +22895,12 @@ |
| 22895 | toggleMobileMenu(); | 22895 | toggleMobileMenu(); |
| 22896 | }); | 22896 | }); |
| 22897 | function init() { | 22897 | function init() { |
| 22898 | function demobilize() { | ||
| 22899 | $('.header-title').after($('#sault')); | ||
| 22900 | if ($('.article-wrapper .btn_style').length > 0) { | ||
| 22901 | $('.sidemenu ul').prepend($('.article-wrapper .btn_style')); | ||
| 22902 | } | ||
| 22903 | } | ||
| 22898 | function mobilize() { | 22904 | function mobilize() { |
| 22899 | $('.col-sm-smallMenu').prepend($('#sault')); | 22905 | $('.col-sm-smallMenu').prepend($('#sault')); |
| 22900 | if ($('.sidemenu .btn_style').length > 0) { | 22906 | if ($('.sidemenu .btn_style').length > 0) { |
| ... | @@ -22902,7 +22908,9 @@ | ... | @@ -22902,7 +22908,9 @@ |
| 22902 | } | 22908 | } |
| 22903 | } | 22909 | } |
| 22904 | desk.addEventListener('change', event => { | 22910 | desk.addEventListener('change', event => { |
| 22905 | if (event.matches) ; else { | 22911 | if (event.matches) { |
| 22912 | demobilize(); | ||
| 22913 | } else { | ||
| 22906 | mobilize(); | 22914 | mobilize(); |
| 22907 | } | 22915 | } |
| 22908 | }); | 22916 | }); | ... | ... |
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($) { | ... | @@ -28,7 +28,10 @@ var Responsive = (function($) { |
| 28 | function init() { | 28 | function init() { |
| 29 | 29 | ||
| 30 | function demobilize() { | 30 | function demobilize() { |
| 31 | 31 | $('.header-title').after($('#sault')); | |
| 32 | if($('.article-wrapper .btn_style').length > 0) { | ||
| 33 | $('.sidemenu ul').prepend($('.article-wrapper .btn_style')); | ||
| 34 | } | ||
| 32 | } | 35 | } |
| 33 | 36 | ||
| 34 | function mobilize() { | 37 | function mobilize() { | ... | ... |
| ... | @@ -1096,7 +1096,9 @@ li.crumb { | ... | @@ -1096,7 +1096,9 @@ li.crumb { |
| 1096 | .cert, | 1096 | .cert, |
| 1097 | .badges{ | 1097 | .badges{ |
| 1098 | display: block; | 1098 | display: block; |
| 1099 | margin-bottom: 70px; | 1099 | margin-bottom: 30px; |
| 1100 | display: flex; | ||
| 1101 | justify-content: center; | ||
| 1100 | } | 1102 | } |
| 1101 | 1103 | ||
| 1102 | .badge_container:hover{ | 1104 | .badge_container:hover{ | ... | ... |
-
Please register or sign in to post a comment