mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 07:12:47 +00:00
refactor: undo card based look on detail views
This commit is contained in:
@@ -6,7 +6,18 @@
|
||||
}
|
||||
}
|
||||
ion-card {
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
ion-card-content {
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
ion-card-header {
|
||||
color: var(--ion-color-dark);
|
||||
padding-top: 8px;
|
||||
padding-bottom: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
ion-grid, ion-col {
|
||||
@@ -15,4 +26,9 @@
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
ion-grid, ion-col {
|
||||
padding-inline-start: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
<ion-card>
|
||||
<ion-card-content>
|
||||
<h1>{{ 'name' | thingTranslate: item }}</h1>
|
||||
{{ 'description' | thingTranslate: item }}</ion-card-content
|
||||
>
|
||||
<ion-text color="dark">
|
||||
<h1>
|
||||
{{ 'name' | thingTranslate: item }}
|
||||
</h1>
|
||||
</ion-text>
|
||||
{{ 'description' | thingTranslate: item }}
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
<ion-grid>
|
||||
<ion-row>
|
||||
@@ -41,7 +45,7 @@
|
||||
></stapps-offers-detail>
|
||||
<stapps-simple-card
|
||||
*ngIf="item.additives"
|
||||
[title]="'additives' | propertyNameTranslate: item"
|
||||
[title]="'additives' | propertyNameTranslate: item | titlecase"
|
||||
[content]="'additives' | thingTranslate: item | join: ', '"
|
||||
>
|
||||
</stapps-simple-card>
|
||||
|
||||
@@ -21,7 +21,11 @@
|
||||
</li>
|
||||
<li *ngIf="distance">
|
||||
<ion-icon name="walk"></ion-icon
|
||||
>{{ distance | numberLocalized: 'style:unit,unit:meter,notation:compact' }}
|
||||
>{{
|
||||
distance
|
||||
| numberLocalized
|
||||
: 'style:unit,unit:meter,notation:compact'
|
||||
}}
|
||||
</li>
|
||||
</ul>
|
||||
</ion-note>
|
||||
@@ -34,7 +38,11 @@
|
||||
</li>
|
||||
<li *ngIf="distance">
|
||||
<ion-icon name="walk"></ion-icon
|
||||
>{{ distance | numberLocalized: '1.0-0' }} m
|
||||
>{{
|
||||
distance
|
||||
| numberLocalized
|
||||
: 'style:unit,unit:meter,notation:compact'
|
||||
}}
|
||||
</li>
|
||||
</ul>
|
||||
</ion-note>
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
<ion-card>
|
||||
<ion-card-content>
|
||||
<h1>{{ 'name' | thingTranslate: item }}</h1>
|
||||
<ion-text color="dark">
|
||||
<h1>
|
||||
{{ 'name' | thingTranslate: item }}
|
||||
</h1>
|
||||
</ion-text>
|
||||
{{ 'description' | thingTranslate: item }}</ion-card-content
|
||||
>
|
||||
</ion-card>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<title>StApps</title>
|
||||
|
||||
<base href="/" />
|
||||
|
||||
Reference in New Issue
Block a user