fix: settings module layout

This commit is contained in:
Rainer Killinger
2025-08-15 15:47:03 +02:00
parent ce17155cfb
commit 3dd7c070d4
10 changed files with 42 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ const config = {
htmlGlob: 'src/**/*.html',
scriptGlob: 'src/**/*.ts',
additionalIcons: {
about: ['copyright', 'campaign', 'policy', 'description', 'text_snippet', 'expand_more'],
about: ['copyright', 'campaign', 'policy', 'description', 'text_snippet', 'expand_more', 'expand_all'],
navigation: [
'home',
'newspaper',

View File

@@ -76,8 +76,8 @@
"@capacitor/share": "7.0.2",
"@capacitor/splash-screen": "7.0.2",
"@ionic-native/core": "5.36.0",
"@ionic/angular": "8.6.1",
"@ionic/angular-server": "8.6.1",
"@ionic/angular": "8.7.2",
"@ionic/angular-server": "8.7.2",
"@ionic/storage-angular": "4.0.0",
"@maplibre/ngx-maplibre-gl": "17.4.1",
"@ngx-translate/core": "15.0.0",
@@ -95,7 +95,7 @@
"form-data": "4.0.4",
"geojson": "0.5.0",
"ionic-appauth": "0.9.0",
"ionicons": "7.4.0",
"ionicons": "8.0.13",
"jsonpath-plus": "10.3.0",
"maplibre-gl": "4.0.2",
"material-symbols": "0.17.1",

View File

@@ -33,7 +33,7 @@
}
<ion-card-content>
@if (!compactView) {
<ion-note>{{ 'description' | thingTranslate: setting | titlecase }}</ion-note>
<ion-note>{{ 'description' | thingTranslate: setting }}</ion-note>
}
@if (isVisible) {
<div>

View File

@@ -304,8 +304,8 @@ describe('SettingsProvider', () => {
},
en: {
description:
'The user group the app is going to be used.' +
'This settings for example is getting used for the predefined price category of mensa meals.',
'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.',
name: 'Group',
},
},

View File

@@ -150,7 +150,7 @@ const iconMap = new Map<string, MaterialSymbol>([
[menuSharp, SCIcon.menu],
[searchOutline, SCIcon.search],
[searchSharp, SCIcon.search],
[chevronExpand, SCIcon.expand_more],
[chevronExpand, SCIcon.expand_all],
[caretDownSharp, SCIcon.expand_more],
[close, SCIcon.close],
[closeSharp, SCIcon.close],

View File

@@ -17,14 +17,13 @@ $icon-size: 22px;
app-root ion-searchbar[class*='sc-ion-searchbar-'] {
--border-radius: var(--border-radius-default);
--background: var(--ion-item-background) !important;
--box-shadow: none;
height: 38px;
padding-top: 0;
padding-bottom: 0;
&.filterable {
--box-shadow: none;
position: relative;
padding-right: 0;
padding-left: 0;