Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move view button down

  • Loading branch information...
commit 23aafbc81107806b5a51dc601b9f8a47055449e4 1 parent 2e6944c
@martin-ueding authored
Showing with 12 additions and 12 deletions.
  1. +8 −8 webroot/css/tungsten.scss
  2. +4 −4 webroot/js/search.js
View
16 webroot/css/tungsten.scss
@@ -276,19 +276,19 @@ table.bookmark_view {
div.title_view {
overflow: hidden;
+ }
- a.title {
- float: left;
- text-decoration: none;
- color: hsl(0, 0%, 0%);
- }
+ a.title {
+ text-decoration: none;
+ color: hsl(0, 0%, 0%);
+ }
- a.view {
- float: right;
- }
+ a.view {
+ float: right;
}
a.url {
+ float: left;
font-size: 90%;
color: hsl(0, 0%, 50%);
}
View
8 webroot/js/search.js
@@ -200,18 +200,18 @@ var formatResults = function (data) {
var hitTarget = 'bookmarks/visit/'+row.Bookmark.id
var viewTarget = 'bookmarks/view/'+row.Bookmark.id
parts.push('<li class="search_entry">');
- parts.push('<div class="title_view">');
parts.push('<a class="title" href="'+hitTarget+'">');
parts.push(row.Bookmark.title);
parts.push('</a>');
+ parts.push('<div class="title_view">');
+ parts.push('<a class="url" href="'+hitTarget+'">');
+ parts.push(row.Bookmark.url);
+ parts.push('</a>');
parts.push('<a class="view" href="'+viewTarget+'">');
// TODO I18n.
parts.push('view');
parts.push('</a>');
parts.push('</div>');
- parts.push('<a class="url" href="'+hitTarget+'">');
- parts.push(row.Bookmark.url);
- parts.push('</a>');
parts.push('</li>');
}
Please sign in to comment.
Something went wrong with that request. Please try again.