Permalink
Browse files

add container for images on right for container size

  • Loading branch information...
1 parent cd9e0de commit 31da7099cdf565e2040b1086a781c13e00a6de8e @jarmo committed Nov 27, 2011
Showing with 12 additions and 8 deletions.
  1. +3 −2 lib/views/index.haml
  2. +9 −6 lib/views/pmdb.scss
View
@@ -7,8 +7,9 @@
%a(href="#" data-sort="imdb.name") name
%a(href="#" data-sort="imdb.score") score
%a(href="#" data-sort="mtime") date
- %img.loader(src="images/loader.gif")
- %img.rescan(src="images/rescan.png" alt="rescan movies")
+ %span.images
+ %img.loader(src="images/loader.gif")
+ %img.rescan(src="images/rescan.png" alt="rescan movies")
%span.search
%span.glass
%span
View
@@ -28,12 +28,15 @@ body {
.right {
float: right;
font-size: 12px;
- img {
- width: 16px;
- height: 16px;
- margin-top: 5px;
- &.loader {display: none}
- &.rescan {cursor: pointer}
+ .images {
+ display: inline-block;
+ width: 20px;
+ height: 18px;
+ img {
+ margin-top: 5px;
+ &.loader {display: none}
+ &.rescan {cursor: pointer}
+ }
}
}
.search {

0 comments on commit 31da709

Please sign in to comment.