OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923eb89
)
Removed float on emoji
author
Staicu Ionut
<github@iamntz.com>
Mon, 24 Sep 2012 07:06:41 +0000
(10:06 +0300)
committer
Staicu 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
patch
|
blob
|
history
diff --git
a/app/assets/stylesheets/sections/notes.scss
b/app/assets/stylesheets/sections/notes.scss
index
267a9b4
..
d24d070
100644
(file)
--- 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 {