From 5ab5a1fa60410307ed93cc5def6ab1988e7aadcc Mon Sep 17 00:00:00 2001 From: Joscha Henningsen <44805696+joschahenningsen@users.noreply.github.com> Date: Wed, 5 Jan 2022 09:21:22 +0100 Subject: [PATCH] Fix warnings and deprecations after updating tailwindcss (#213) * update content directive, flex-grow -> grow * fix flex behaviour and circular dependency * remove grow from css --- web/assets/css/main.css | 3 +-- web/tailwind.config.js | 2 +- web/template/admin/admin.gohtml | 4 ++-- web/template/admin/admin_tabs/edit-course.gohtml | 4 ++-- web/template/header.gohtml | 4 ++-- web/template/partial/stream/chat.gohtml | 2 +- web/template/watch.gohtml | 2 +- web/ts/schedule.ts | 6 +++--- web/ts/watch.ts | 2 +- 9 files changed, 14 insertions(+), 15 deletions(-) diff --git a/web/assets/css/main.css b/web/assets/css/main.css index 7e97f91e2..28fc4e239 100644 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -224,7 +224,6 @@ input[type='checkbox']:checked + label { } .dark .fc-scroller { - @apply scrollbarThin; margin-bottom: 0 !important; } @@ -268,4 +267,4 @@ a.fc-event, a.fc-event:hover { [x-cloak] { display: none !important; -} \ No newline at end of file +} diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 51aa79630..9ebd55b16 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -1,6 +1,6 @@ // eslint-disable-next-line no-undef module.exports = { - purge: [ + content: [ "./assets/css/*.css", "./template/**/*.gohtml", "./template/**/**/*.gohtml", diff --git a/web/template/admin/admin.gohtml b/web/template/admin/admin.gohtml index 6ce58fda5..8b3cab8a1 100755 --- a/web/template/admin/admin.gohtml +++ b/web/template/admin/admin.gohtml @@ -63,7 +63,7 @@ {{end}}
  • - CoursesCourses