about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/pokeviewer/pokemon.css.scss6
-rw-r--r--app/views/pokeviewer/pokemon/index.html.haml4
2 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pokeviewer/pokemon.css.scss b/app/assets/stylesheets/pokeviewer/pokemon.css.scss index 6dbb6c8..f398844 100644 --- a/app/assets/stylesheets/pokeviewer/pokemon.css.scss +++ b/app/assets/stylesheets/pokeviewer/pokemon.css.scss
@@ -108,6 +108,12 @@
108 .pc-contents { 108 .pc-contents {
109 margin: 0; 109 margin: 0;
110 110
111 .spacer {
112 display: block;
113 width: 32px;
114 height: 32px;
115 }
116
111 .pc-pokemon { 117 .pc-pokemon {
112 .pc-data { 118 .pc-data {
113 display: none; 119 display: none;
diff --git a/app/views/pokeviewer/pokemon/index.html.haml b/app/views/pokeviewer/pokemon/index.html.haml index e536080..436f48a 100644 --- a/app/views/pokeviewer/pokemon/index.html.haml +++ b/app/views/pokeviewer/pokemon/index.html.haml
@@ -18,7 +18,9 @@
18 %tr 18 %tr
19 - row.each do |p| 19 - row.each do |p|
20 %td.pc-pokemon 20 %td.pc-pokemon
21 - unless p.nil? 21 - if p.nil?
22 .spacer
23 - else
22 = link_to image_tag(p.icon_path), p 24 = link_to image_tag(p.icon_path), p
23 .pc-data 25 .pc-data
24 .pc-data-name= p.revisions.last.nickname 26 .pc-data-name= p.revisions.last.nickname