Skip to content

Commit

Permalink
Step 8.5: Add picture style to chat stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 23, 2016
1 parent ccd4b29 commit 9d35b75
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion client/styles/chat.scss
Expand Up @@ -66,7 +66,7 @@
background-image: url(/message-mine.png)
}

.message-text {
.text {
padding: 5px 7px;
word-wrap: break-word;

Expand All @@ -76,6 +76,16 @@
}
}

.picture {
padding: 4px 4px 0;

img {
width: 220px;
height: 130px;
border-radius: 6px;
}
}

.message-timestamp {
position: absolute;
bottom: 2px;
Expand Down

0 comments on commit 9d35b75

Please sign in to comment.