Skip to content

Commit

Permalink
Update style of detailed pokemon label
Browse files Browse the repository at this point in the history
Decrease size of form string
  • Loading branch information
michikrug committed Mar 12, 2018
1 parent 15460be commit 91e47c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function pokemonLabel(item) {
var formString = ''

if (form !== null && form > 0 && forms.length > form) {
formString += `(${forms[item.form]}) `
formString += `<span class='pokemon form'>(${forms[item.form]})</span> `
}

if (id === 29 || id === 32) {
Expand Down
5 changes: 2 additions & 3 deletions static/sass/layout/_pokemon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
margin-bottom: 0px;

&.content-left {
width: 64px;
width: 70px;

.links {
display: block;
Expand Down Expand Up @@ -42,7 +42,6 @@
}

&.rarity {
font-size: 11px;
margin-right: 3px;
}

Expand Down Expand Up @@ -114,7 +113,7 @@
display: block;
height: 48px;
width: 48px;
margin: 5px 0 8px 0;
margin: 5px 0 16px 0;
}

.type {
Expand Down

0 comments on commit 91e47c1

Please sign in to comment.