diff --git a/lib/proptracker_web/controllers/advertisement_html/index.html.heex b/lib/proptracker_web/controllers/advertisement_html/index.html.heex index c551f565fda50e2bac03e14f1ec12bb67ef7a8e3..47d3f8c348da68f2ed2f5eddf3e63e7d41b06725 100644 --- a/lib/proptracker_web/controllers/advertisement_html/index.html.heex +++ b/lib/proptracker_web/controllers/advertisement_html/index.html.heex @@ -123,7 +123,7 @@ /* Center advertisements and limit their width */ .advertisement-list { display: grid; - grid-template-columns: repeat(3, 1fr); /* Three columns on larger screens */ + grid-template-columns: repeat(2, 1fr); /* Three columns on larger screens */ gap: 16px; margin-top: 20px; width: 100%; diff --git a/lib/proptracker_web/controllers/advertisement_html/show.html.heex b/lib/proptracker_web/controllers/advertisement_html/show.html.heex index d68ed99f9af6189a24000a86add74cba9edf51a8..acd4ff3d9520b4033f5cfc3e52bc870219779787 100644 --- a/lib/proptracker_web/controllers/advertisement_html/show.html.heex +++ b/lib/proptracker_web/controllers/advertisement_html/show.html.heex @@ -76,10 +76,15 @@ .status.sold { background-color: red; + color:black; } + .status.sold\/rented { + background-color: red; +} .status.reserved { background-color: yellow; + color:black; } /* Section title styles */ diff --git a/priv/static/adverts/1_h1323o.jpg b/priv/static/adverts/1_h1323o.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9b6d35e024878c448bc9186b693442cb929e54be Binary files /dev/null and b/priv/static/adverts/1_h1323o.jpg differ