Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Aug 15, 2024
1 parent 727e923 commit 1cf11e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
13 changes: 8 additions & 5 deletions src/lib/theme/components/item.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
.md.md3 ion-item {
--min-height: 56px;
--inner-padding-start: 16px;
--inner-padding-end: 16px;
--inner-padding-top: 8px;
--inner-padding-bottom: 8px;
--inner-border-width: 0 0 0 0;

--padding-start: 16px;
--padding-end: 16px;
}

.md.md3 ion-item [slot="start"] {
margin-inline-end: 16px;
}

.md.md3 ion-item [slot="start"],
.md.md3 ion-item [slot="end"] {
margin-inline-start: 0;
margin-inline-end: 0;
margin-inline-start: 16px;
}

.md.md3 ion-item[lines="lines"] {
Expand Down
11 changes: 6 additions & 5 deletions src/views/options/AppSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@

<IonList :inset="isIOS">

<IonItem button disabled>
<IonLabel>
<h3>{{ $t("options:appSettings.locale.language") }}</h3>
<p>{{ $t("other:languageName.local") }}</p>
</IonLabel>
<IonItem>
<IonSelect :label="$t('options:appSettings.locale.language')" interface="popover" v-model="appConfig.locale.language">
<IonSelectOption :value="lng" v-for="lng in $i18next.languages">
{{ $t("other:languageName.inEnglish", { lng }) }}
</IonSelectOption>
</IonSelect>
</IonItem>

<IonItem>
Expand Down

0 comments on commit 1cf11e1

Please sign in to comment.