styling small changes

This commit is contained in:
Alireza Ahmadi
2024-02-27 19:53:57 +01:00
parent b0817e9c05
commit 9ba611649c
5 changed files with 11 additions and 10 deletions
+1
View File
@@ -1,6 +1,7 @@
<template> <template>
<v-app-bar :elevation="5"> <v-app-bar :elevation="5">
<v-icon v-if="isMobile" icon="mdi-menu" @click="$emit('toggleDrawer')" /> <v-icon v-if="isMobile" icon="mdi-menu" @click="$emit('toggleDrawer')" />
<span v-else style="width: 24px"></span>
<v-app-bar-title :text="$t(<string>$router.currentRoute.value.name)" class="align-center text-center " /> <v-app-bar-title :text="$t(<string>$router.currentRoute.value.name)" class="align-center text-center " />
<v-btn prepend-icon="mdi-content-save" v-if="stateChange" :text="$t('actions.save')" @click="saveChanges"></v-btn> <v-btn prepend-icon="mdi-content-save" v-if="stateChange" :text="$t('actions.save')" @click="saveChanges"></v-btn>
<v-icon icon="mdi-theme-light-dark" @click="toggleTheme()" style="margin: 0 10px;"></v-icon> <v-icon icon="mdi-theme-light-dark" @click="toggleTheme()" style="margin: 0 10px;"></v-icon>
+7
View File
@@ -25,3 +25,10 @@ const isMobile = computed( ():boolean =>{
return smAndDown.value return smAndDown.value
}) })
</script> </script>
<style>
.v-card-subtitle {
text-align: center;
border-bottom: 1px solid gray;
}
</style>
+1 -8
View File
@@ -336,11 +336,4 @@ const enableClashApi = computed({
} else { delete appConfig.value.experimental.clash_api } } else { delete appConfig.value.experimental.clash_api }
} }
}) })
</script> </script>
<style>
.v-card-subtitle {
text-align: center;
border-bottom: 1px solid gray;
}
</style>
+1 -1
View File
@@ -24,7 +24,7 @@
@close="closeStats" @close="closeStats"
/> />
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12" justify="center" align="center">
<v-btn color="primary" @click="showModal(-1)">{{ $t('actions.add') }}</v-btn> <v-btn color="primary" @click="showModal(-1)">{{ $t('actions.add') }}</v-btn>
</v-col> </v-col>
</v-row> </v-row>
+1 -1
View File
@@ -16,7 +16,7 @@
@close="closeStats" @close="closeStats"
/> />
<v-row> <v-row>
<v-col cols="12"> <v-col cols="12" justify="center" align="center">
<v-btn color="primary" @click="showModal(-1)">{{ $t('actions.add') }}</v-btn> <v-btn color="primary" @click="showModal(-1)">{{ $t('actions.add') }}</v-btn>
</v-col> </v-col>
</v-row> </v-row>