File tree Expand file tree Collapse file tree
include/DefaultPageLayout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ function getArrayStatus($var) {
5656 </span>
5757 <span id="user-notice" class="red-text"></span>
5858 </div>
59+ <div class="footer-spacer"> </div>
5960 <div id="copyright" class="footer-right">
6061 <unraid-theme-switcher
6162 current="<?= $ theme?> "
Original file line number Diff line number Diff line change @@ -675,8 +675,8 @@ div.title span img {
675675
676676@media (min-width : 768px ) {
677677 # footer {
678- flex-direction : row ;
679- justify-content : space-between ;
678+ display : grid ;
679+ grid-template-columns : auto 1 fr auto ;
680680 align-items : center;
681681 position : fixed;
682682 bottom : 0 ;
@@ -702,7 +702,9 @@ div.title span img {
702702 justify-content : center;
703703 align-items : center;
704704 gap : 1rem ;
705- flex : 1 1 auto; /* Take available space */
705+ }
706+ .footer-spacer {
707+ display : none; /* Hidden by default on mobile */
706708}
707709.footer-right ,
708710# copyright {
@@ -734,13 +736,14 @@ div.title span img {
734736@media (min-width : 768px ) {
735737 .footer-left {
736738 justify-content : flex-start;
737- flex : 0 0 auto; /* Only take needed space on desktop */
739+ }
740+ .footer-spacer {
741+ display : block; /* Show on desktop */
738742 }
739743 .footer-right ,
740744 # copyright {
741745 text-align : right;
742746 justify-content : flex-start; /* Start from left to enable overflow */
743- flex : 1 1 0 ; /* Take remaining space */
744747 width : auto; /* Override mobile full width */
745748 min-width : 0 ; /* Critical for overflow to work */
746749 }
You can’t perform that action at this time.
0 commit comments