Commit e584f148577e9699db831d10b069e3691b2af5e7
Exists in
master
and in
4 other branches
Merge pull request #1534 from iamntz/emoji_alignment
Removed float on emoji
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/sections/notes.scss
| @@ -43,7 +43,9 @@ | @@ -43,7 +43,9 @@ | ||
| 43 | padding: 8px 0; | 43 | padding: 8px 0; |
| 44 | overflow: hidden; | 44 | overflow: hidden; |
| 45 | display: block; | 45 | display: block; |
| 46 | + position:relative; | ||
| 46 | img {float: left; margin-right: 10px;} | 47 | img {float: left; margin-right: 10px;} |
| 48 | + img.emoji {float:none;margin:0;} | ||
| 47 | .note-author cite{font-style: italic;} | 49 | .note-author cite{font-style: italic;} |
| 48 | p { color:$style_color; } | 50 | p { color:$style_color; } |
| 49 | .note-author { color: $style_color;} | 51 | .note-author { color: $style_color;} |
| @@ -55,7 +57,9 @@ | @@ -55,7 +57,9 @@ | ||
| 55 | 57 | ||
| 56 | .delete-note { | 58 | .delete-note { |
| 57 | display:none; | 59 | display:none; |
| 58 | - float:right; | 60 | + position:absolute; |
| 61 | + right:0; | ||
| 62 | + top:0; | ||
| 59 | } | 63 | } |
| 60 | 64 | ||
| 61 | &:hover { | 65 | &:hover { |