Skip to content

Commit

Permalink
UI fix maintenance button alignment (#2888)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Jan 10, 2025
1 parent 8e13ee2 commit 4258b84
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 7 deletions.
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceCleaning.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data !== undefined && data.is_not_empty" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data !== undefined && data.is_not_empty"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ title }}
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceFilesize.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data !== undefined && data > 0" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data !== undefined && data > 0"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ $t("maintenance.fill-filesize-sizevariants.title") }}
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceFixJobs.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data !== undefined && data > 0" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data !== undefined && data > 0"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ $t("maintenance.fix-jobs.title") }}
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceFixTree.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data !== undefined && fixable" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data !== undefined && fixable"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ $t("maintenance.fix-tree.title") }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data !== undefined && data > 0" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data !== undefined && data > 0"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ title }}
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceOptimize.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ $t("maintenance.optimize.title") }}
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/maintenance/MaintenanceUpdate.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<Card v-if="data" class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative">
<Card
v-if="data"
class="min-h-40 dark:bg-surface-800 shadow shadow-surface-950/30 rounded-lg relative"
pt:body:class="min-h-40 h-full"
pt:content:class="h-full flex justify-between flex-col"
>
<template #title>
<div class="text-center">
{{ $t("maintenance.update.title") }}
Expand Down

0 comments on commit 4258b84

Please sign in to comment.