diff --git a/assets/styles/app.scss b/assets/styles/app.scss index ccb0051..aa11425 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -26,4 +26,14 @@ $primary: darken(#005035, 20%); .listings-container { padding-top: 2rem; +} + +.img-container { + width: 50%; + min-width: 20rem; +} + +.offer-info { + width: 50%; + min-width: 20rem;; } \ No newline at end of file diff --git a/templates/app/offer.html.twig b/templates/app/offer.html.twig index 4f22e69..b6afcd0 100644 --- a/templates/app/offer.html.twig +++ b/templates/app/offer.html.twig @@ -3,34 +3,32 @@ {% block body %}

{{ offer.title }}

-
- Generic placeholder image -
-

- Description -

-

- {{ offer.description }} -

-

- From -

-

{{ offer.byUser }} in {{ offer.zipCode }}

-

Wishes

-

{{ offer.byUser }} would like some of the following in return:

-
- {% if wishes == [] %} - - {% else %} -
    - {% for wish in wishes %} -
  • {{ wish.title }}
  • - {% endfor %} -
- {% endif %} -
+
+
+ Generic placeholder image
-
+
+

Description

+

{{ offer.description }}

+

From

+

{{ offer.byUser }} in {{ offer.zipCode }}

+
+
+ +

Wishes

+

{{ offer.byUser }} would like some of the following in return:

+
+ {% if wishes == [] %} + + {% else %} + + {% endif %} +
+ {% endblock %} \ No newline at end of file