From 7eebb8bfd9a9ac6afa8e5f481a15556fcc034357 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Wed, 5 Apr 2023 10:19:01 +0000 Subject: [PATCH] Switch from filled icons Fix smol banner styling --- gallery/static/sass/components/banner.sass | 22 ++++------------------ gallery/templates/groups/group.html | 10 +++++----- gallery/templates/image.html | 14 +++++++------- 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/gallery/static/sass/components/banner.sass b/gallery/static/sass/components/banner.sass index 451ec88..6690ee1 100644 --- a/gallery/static/sass/components/banner.sass +++ b/gallery/static/sass/components/banner.sass @@ -108,8 +108,9 @@ position: absolute inset: 0 - display: grid - grid-template-columns: auto 1fr auto + display: flex + flex-direction: row + justify-content: flex-start gap: 1rem z-index: +2 @@ -139,9 +140,8 @@ font-weight: 600 .pill-row + margin-left: auto width: auto - justify-self: flex-end - display: inline-flex @media (max-width: $breakpoint) .banner, @@ -174,17 +174,3 @@ .pill-row margin-top: 1rem - - .banner-small - .banner-content - display: flex - flex-direction: row - justify-content: space-between - gap: 0 - - .banner-header - margin: auto 1rem - text-align: center - - .banner-info - display: none \ No newline at end of file diff --git a/gallery/templates/groups/group.html b/gallery/templates/groups/group.html index d780036..845c3f7 100644 --- a/gallery/templates/groups/group.html +++ b/gallery/templates/groups/group.html @@ -218,16 +218,16 @@
{% if current_user.id == group.author_id %}
{% endif %} @@ -243,13 +243,13 @@ {% if current_user.id == group.author_id %}
{% else %}
{% endif %} diff --git a/gallery/templates/image.html b/gallery/templates/image.html index 561a35c..d1559b3 100644 --- a/gallery/templates/image.html +++ b/gallery/templates/image.html @@ -113,7 +113,7 @@ {% if next_url %}
- + Previous @@ -123,21 +123,21 @@ {% endif %}
- + Download @@ -147,14 +147,14 @@ {% if current_user.id == image.author_id %}