File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ $focus-header-height: 60px;
66$focus-sidebar-width : 350px ;
77$focus-sidebar-collapsed-width : 48px ;
88$admin-bar-height : 32px ;
9+ $admin-bar-height-mobile : 46px ;
910
1011.llms-focus-mode {
1112 margin : 0 ;
@@ -281,6 +282,23 @@ $admin-bar-height: 32px;
281282 margin : 0 ;
282283 }
283284 }
285+
286+ & :not (.llms-focus-mode-footer--mobile ) {
287+ @media (max-width : 768px ) {
288+ display : none ;
289+ }
290+ }
291+
292+ & .llms-focus-mode-footer--mobile {
293+ display : none ;
294+
295+ @media (max-width : 768px ) {
296+ display : block ;
297+ position : sticky ;
298+ bottom : 0 ;
299+ z-index : 10 ;
300+ }
301+ }
284302 }
285303
286304 // =============================================
@@ -445,6 +463,13 @@ $admin-bar-height: 32px;
445463 }
446464 }
447465 }
466+
467+ // Fix position of the Notes button.
468+ @media screen and (max-width : 782px ) {
469+ .llms-note-button.position-fixed__bottom {
470+ bottom : 100px ;
471+ }
472+ }
448473}
449474
450475.admin-bar.llms-focus-mode {
@@ -454,4 +479,12 @@ $admin-bar-height: 32px;
454479 height : calc ( 100vh - $admin-bar-height );
455480 overflow : hidden ;
456481 }
482+
483+ @media screen and (max-width : 782px ) {
484+ .llms-focus-mode-wrapper {
485+ height : calc ( 100vh - $admin-bar-height-mobile );
486+ }
487+ }
457488}
489+
490+
Original file line number Diff line number Diff line change 122122
123123 </div>
124124
125+ <?php if ( 'lesson ' === $ post_type && $ lesson ) : ?>
126+ <footer class="llms-focus-mode-footer llms-focus-mode-footer--mobile">
127+ <?php lifterlms_template_complete_lesson_link (); ?>
128+ </footer>
129+ <?php endif ; ?>
130+
125131</div>
126132
127133<?php wp_footer (); ?>
You can’t perform that action at this time.
0 commit comments