Projekt

Allgemein

Profil

GX-Bug #62037

Von Philip Rogge vor fast 5 Jahren aktualisiert

Für jede Spalte des Footers wird eine feste Höhe gesetzt ($gx-footer-height). Dies ist für Desktop und Tablet auch gut, auf mobile werden somit aber große Abstände erzeugt, da hier die Spalten untereinander dargestellt werden. Die Höhe sollte daher in der mobilen Ansicht dynamisch sein und erst ab Tablet fest gesetzt werden. 

 Lösungvorschlag: 

 in der Datei Datei _footer.scss folgenden Code einfügen: 

 ``` 
 @media (min-width: $screen-sm-min) { 
    height: $gx-footer-height; 
 } 
 ``` 
 --- 

 A fixed height is set for each column of the footer ($gx-footer-height). This is good for desktop and tablet as well, but on mobile devices large distances are created because the columns are displayed one below the other. The height should therefore be dynamic in the mobile view and should only be fixed from Tablet on. 

 Suggested solution: 

 Insert the following code in the file _footer.scss: 

 ``` 
 @media (min-width: $screen-sm-min) { 
    height: $gx-footer-height; 
 } 
 ```

Zurück