From 767e466fd8d1daa9cfa2a49c57519c059a120432 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 16 Feb 2019 17:15:56 -0800 Subject: [PATCH] Lets be smarter with modals here... --- .../assets/scripts/components/core/Modal.vue | 9 ++- .../components/dashboard/Dashboard.vue | 2 +- .../components/database/DatabaseRow.vue | 15 ++--- .../database/DeleteDatabaseModal.vue | 58 +++++++++++++------ .../styles/components/miscellaneous.css | 4 +- 5 files changed, 54 insertions(+), 34 deletions(-) diff --git a/resources/assets/scripts/components/core/Modal.vue b/resources/assets/scripts/components/core/Modal.vue index 208bd771f..b7868ccce 100644 --- a/resources/assets/scripts/components/core/Modal.vue +++ b/resources/assets/scripts/components/core/Modal.vue @@ -2,7 +2,7 @@ - - - + diff --git a/resources/assets/styles/components/miscellaneous.css b/resources/assets/styles/components/miscellaneous.css index 44a7166f5..8df2576e6 100644 --- a/resources/assets/styles/components/miscellaneous.css +++ b/resources/assets/styles/components/miscellaneous.css @@ -76,7 +76,7 @@ code { } & > div { - @apply .flex .flex-col .h-full; + @apply .flex .flex-col; transition: box-shadow 150ms ease-in; &:hover { @@ -85,7 +85,7 @@ code { } & > div > .server-card { - @apply .flex .flex-1 .flex-col .p-4 .border .border-t-4 .border-neutral-100 .bg-white; + @apply .flex .flex-col .p-4 .border .border-t-4 .border-neutral-100 .bg-white; transition: all 100ms ease-in; & .identifier-icon {