OSDN Git Service

Removed float on emoji
authorStaicu Ionut <github@iamntz.com>
Mon, 24 Sep 2012 07:06:41 +0000 (10:06 +0300)
committerStaicu Ionut <github@iamntz.com>
Mon, 24 Sep 2012 07:06:41 +0000 (10:06 +0300)
-`remove comment` button will not make the text jump anymore.

app/assets/stylesheets/sections/notes.scss

index 267a9b4..d24d070 100644 (file)
@@ -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 {