feat: transition to full sidebar at xl instead of lg

This commit is contained in:
Thea Schöbl
2023-04-06 17:12:30 +00:00
committed by Rainer Killinger
parent 3e5724d9be
commit cc939f3887
3 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 StApps
* Copyright (C) 2023 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -22,7 +22,7 @@ describe('App', () => {
it('should have a proper working navigation', () => {
cy.visit('/');
cy.contains('Einstellungen').click();
cy.get('ion-title').contains('Einstellungen');
cy.contains('ion-tab-button', 'Mensa').click();
cy.get('ion-title').contains('Mensa');
});
});

View File

@@ -14,7 +14,7 @@
-->
<stapps-offline-notice></stapps-offline-notice>
<ion-split-pane contentId="main" when="lg">
<ion-split-pane contentId="main" when="xl">
<ion-menu menuId="main" contentId="main" type="overlay" side="start" swipe-gesture="false">
<ion-header>
<ion-toolbar color="primary" mode="ios">

View File

@@ -16,7 +16,7 @@
@import '../../../../theme/util/mixins';
stapps-navigation-tabs {
@include ion-lg-up {
@include ion-xl-up {
display: none;
}
}
@@ -41,7 +41,7 @@ stapps-offline-notice.is-offline ~ ion-split-pane {
margin-left: var(--navigation-rail-width);
}
@include ion-lg-up {
@include ion-xl-up {
margin-left: 0;
}
}