From 95b546afa974b8d1f31149c79c5deab36ce4e642 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 27 Apr 2022 12:34:58 +0200 Subject: [PATCH] media improvement --- assets/style.less | 8 --- components/Event.vue | 25 ++-------- locales/en.json | 8 ++- locales/it.json | 7 +-- nuxt.config.js | 1 - pages/add/MediaInput.vue | 8 +-- pages/add/WhereInput.vue | 61 ++++++++++++----------- pages/event/_slug.vue | 28 ++++------- server/api/storage.js | 73 +++++++++++++--------------- webcomponents/src/GancioEvent.svelte | 30 +++++++----- 10 files changed, 112 insertions(+), 137 deletions(-) diff --git a/assets/style.less b/assets/style.less index 099d06d0..5ff9281b 100644 --- a/assets/style.less +++ b/assets/style.less @@ -83,14 +83,6 @@ li { flex: 1 1 auto; } - .img { - width: 100%; - max-height: 250px; - min-height: 160px; - object-fit: cover; - object-position: top; - aspect-ratio: 1.7778; - } .place { max-width: 100%; diff --git a/components/Event.vue b/components/Event.vue index ea8878bc..b7d87ff5 100644 --- a/components/Event.vue +++ b/components/Event.vue @@ -1,7 +1,7 @@