added category scroll

This commit is contained in:
Hayden 2021-02-06 12:17:10 -09:00
commit 8866256a21
6 changed files with 23 additions and 24 deletions

View file

@ -94,16 +94,5 @@ export default {
</script> </script>
<style> <style>
/* Scroll Bar PageSettings */
body::-webkit-scrollbar {
width: 0.25rem;
}
body::-webkit-scrollbar-track {
background: grey;
}
body::-webkit-scrollbar-thumb {
background: black;
}
</style> </style>

View file

@ -30,13 +30,18 @@
<h3>Homepage Categories</h3> <h3>Homepage Categories</h3>
</v-card-text> </v-card-text>
<v-divider></v-divider> <v-divider></v-divider>
<v-list min-height="200px" dense> <v-list
min-height="200"
dense
max-height="200"
style="overflow:auto"
>
<v-list-item-group> <v-list-item-group>
<draggable <draggable
v-model="homeCategories" v-model="homeCategories"
group="categories" group="categories"
:style="{ :style="{
minHeight: `200px`, minHeight: `150px`,
}" }"
> >
<v-list-item <v-list-item
@ -72,13 +77,18 @@
</h3> </h3>
</v-card-text> </v-card-text>
<v-divider></v-divider> <v-divider></v-divider>
<v-list min-height="200px" dense> <v-list
min-height="200"
dense
max-height="200"
style="overflow:auto"
>
<v-list-item-group> <v-list-item-group>
<draggable <draggable
v-model="categories" v-model="categories"
group="categories" group="categories"
:style="{ :style="{
minHeight: `200px`, minHeight: `150px`,
}" }"
> >
<v-list-item <v-list-item

View file

@ -5,8 +5,8 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<span> <span>
<v-btn class="pt-1" text href="/docs"> <v-btn class="pt-1" text href="/docs">
<v-icon left>mdi-link</v-icon>
{{ $t("settings.local-api") }} {{ $t("settings.local-api") }}
<v-icon right>mdi-open-in-new</v-icon>
</v-btn> </v-btn>
</span> </span>
</v-card-title> </v-card-title>

View file

@ -4,14 +4,14 @@
{{ $t("settings.webhooks.meal-planner-webhooks") }} {{ $t("settings.webhooks.meal-planner-webhooks") }}
</v-card-title> </v-card-title>
<v-card-text> <v-card-text>
<p <p>
v-html=" {{
$t( $t(
'settings.webhooks.the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at', "settings.webhooks.the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at"
{ time: time }
) )
" }}
></p> <strong>{{ time }}</strong>
</p>
<v-row dense align="center"> <v-row dense align="center">
<v-col cols="12" md="2" sm="5"> <v-col cols="12" md="2" sm="5">

View file

@ -5,7 +5,7 @@
<v-row> <v-row>
<v-col> <v-col>
<v-btn-toggle group> <v-btn-toggle group>
<v-btn text :to="`/recipes/category/${title.toLowerCase()}`"> <v-btn text :to="`/recipes/${title.toLowerCase()}`">
{{ title.toUpperCase() }} {{ title.toUpperCase() }}
</v-btn> </v-btn>
</v-btn-toggle> </v-btn-toggle>

View file

@ -122,7 +122,7 @@
}, },
"webhooks": { "webhooks": {
"meal-planner-webhooks": "Meal Planner Webhooks", "meal-planner-webhooks": "Meal Planner Webhooks",
"the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at": "The URLs listed below will receive webhooks containing the recipe data for the meal plan on it's scheduled day. Currently Webhooks will execute at <strong>{ time }</strong>", "the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at": "The URLs listed below will receive webhooks containing the recipe data for the meal plan on it's scheduled day. Currently Webhooks will execute at",
"test-webhooks": "Test Webhooks", "test-webhooks": "Test Webhooks",
"webhook-url": "Webhook URL" "webhook-url": "Webhook URL"
}, },