fix advert blurriness issue

This commit is contained in:
byte[] 2020-04-03 14:08:37 -04:00
parent be83699e65
commit 658472f16b
2 changed files with 9 additions and 5 deletions

View file

@ -15,12 +15,16 @@
margin-bottom: 4px; margin-bottom: 4px;
} }
img { img {
max-width: 729px; max-width: 100%;
width: 100%;
height: auto; height: auto;
} }
} }
#imagespns__link {
display: flex;
justify-content: center;
}
.table--adverts__image { .table--adverts__image {
width: 730px; width: 730px;
} }

View file

@ -4,8 +4,8 @@
=> link "Click here", to: "/pages/advertising" => link "Click here", to: "/pages/advertising"
' for information! ' for information!
a href=Routes.advert_path(@conn, :show, @advert) rel="nofollow" title=@advert.title a#imagespns__link href=Routes.advert_path(@conn, :show, @advert) rel="nofollow" title=@advert.title
img src=advert_image_url(@advert) alt=@advert.title width="700" height="80" img src=advert_image_url(@advert) alt=@advert.title
p p
strong strong