From c701507b6cf9ab4099d4d5847516436ca35658d8 Mon Sep 17 00:00:00 2001 From: Staicu Ionut Date: Mon, 24 Sep 2012 10:06:41 +0300 Subject: [PATCH] Removed float on emoji -`remove comment` button will not make the text jump anymore. --- app/assets/stylesheets/sections/notes.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index 267a9b43..d24d070d 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -43,7 +43,9 @@ padding: 8px 0; overflow: hidden; display: block; + position:relative; img {float: left; margin-right: 10px;} + img.emoji {float:none;margin:0;} .note-author cite{font-style: italic;} p { color:$style_color; } .note-author { color: $style_color;} @@ -55,7 +57,9 @@ .delete-note { display:none; - float:right; + position:absolute; + right:0; + top:0; } &:hover {