From 30756ad4aa844ce33923540e16c4251051c20af0 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Fri, 19 Apr 2024 11:09:31 +0200 Subject: [PATCH] [TASK] improve styling --- frontend/scss/app.scss | 1 + frontend/scss/components/_notification.scss | 5 ++++ templates/includes/macros.html.tera | 27 ++++++++++++--------- 3 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 frontend/scss/components/_notification.scss diff --git a/frontend/scss/app.scss b/frontend/scss/app.scss index 770dc11..02e94d7 100644 --- a/frontend/scss/app.scss +++ b/frontend/scss/app.scss @@ -13,3 +13,4 @@ @import 'components/search'; @import 'components/important'; @import 'components/searchable-table'; +@import 'components/notification'; diff --git a/frontend/scss/components/_notification.scss b/frontend/scss/components/_notification.scss new file mode 100644 index 0000000..0532299 --- /dev/null +++ b/frontend/scss/components/_notification.scss @@ -0,0 +1,5 @@ +.notification { + right: -.2rem; + top: -.1rem; + font-size: .5rem; +} diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index ba3c29c..30283e3 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -28,20 +28,25 @@