Fix max-width image

This commit is contained in:
Emmanuelle Helly 2018-10-05 14:30:56 +02:00
parent 979eb8d972
commit 6e585c86f4
2 changed files with 7 additions and 5 deletions

View File

@ -234,6 +234,10 @@ dd
time
display: block
article
img
max-width: 100%
#actualites main, #emplois main, #index-news
box-sizing: border-box
display: flex
@ -247,9 +251,6 @@ time
padding: 2em
word-wrap: break-word
img
max-width: 100%
a
color: $action-secondary
font-size: .8em

View File

@ -208,6 +208,9 @@ dd {
time {
display: block; }
article img {
max-width: 100%; }
#actualites main, #emplois main, #index-news {
box-sizing: border-box;
display: flex;
@ -219,8 +222,6 @@ time {
flex: 1 50%;
padding: 2em;
word-wrap: break-word; }
#actualites main article img, #emplois main article img, #index-news article img {
max-width: 100%; }
#actualites main article a, #emplois main article a, #index-news article a {
color: #ffcd05;
font-size: .8em;