diff --git a/src/fellchensammlung/static/fellchensammlung/css/styles.css b/src/fellchensammlung/static/fellchensammlung/css/styles.css index aabb46c..f790ba6 100644 --- a/src/fellchensammlung/static/fellchensammlung/css/styles.css +++ b/src/fellchensammlung/static/fellchensammlung/css/styles.css @@ -246,7 +246,7 @@ h1 { border: black 1px solid; border-radius: 0.3rem; padding: 2px; - margin: 2px; + margin: 4px; } .sex { @@ -381,4 +381,9 @@ h1 { .heading-card-adoption-notice { word-wrap: anywhere; +} + +.tags { + margin-left: auto; + padding: 5px; } \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html index 8384615..4b8d11f 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-animal-card.html @@ -2,9 +2,15 @@

{{ animal.name }}

-
{{ animal.species }}
-
{{ animal.get_sex_display }}
+
+
{{ animal.species }}
+
{{ animal.get_sex_display }}
+
+ + {% if animal.description %} +

{{ animal.description }}

+ {% endif %} {% if animal.get_photo %} {{ animal.get_photo.alt_text }}