diff --git a/app/assets/images/sprite.png b/app/assets/images/sprite.png index d13dbaa8f3..7b6c6a73f5 100644 Binary files a/app/assets/images/sprite.png and b/app/assets/images/sprite.png differ diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg index a70a7532b8..bf65021fa6 100644 --- a/app/assets/images/sprite.svg +++ b/app/assets/images/sprite.svg @@ -27,9 +27,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="8" - inkscape:cx="9.2822526" - inkscape:cy="168.88141" + inkscape:zoom="4.7683716" + inkscape:cx="8.5527915" + inkscape:cy="148.78096" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" @@ -84,15 +84,19 @@ transform="translate(0,852.36218)" sodipodi:nodetypes="sscsscs" /> + diff --git a/app/assets/javascripts/templates/notes/show.jst.ejs b/app/assets/javascripts/templates/notes/show.jst.ejs index f72f003c6b..1393e9c894 100644 --- a/app/assets/javascripts/templates/notes/show.jst.ejs +++ b/app/assets/javascripts/templates/notes/show.jst.ejs @@ -1,5 +1,5 @@
- + <% if (note.comments.some(function (comment) { return !comment.user })) { %> <%- I18n.t('javascripts.notes.show.anonymous_warning') %> <% } %> @@ -23,7 +23,6 @@ <% if (note.status == "open") { %>
-
diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index bab4c95606..2aacad0e6d 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1724,6 +1724,10 @@ a.button.submit { /* Rules for the notes interface */ +.note { + padding-top: 10px; +} + .note { h2 { margin-bottom: 10px; @@ -1734,7 +1738,21 @@ a.button.submit { } .permalink { - margin: -10px 0 10px -12px; + position: absolute; + top: 5px; + left: 5px; + min-width: 15px; + min-height: 15px; + background: image-url("sprite.png") 0 -45px no-repeat; + } + + .permalink span { + display: none; + padding-left: 20px; + } + + .permalink:hover span { + display: block; } .warning {