From aaaec295a2d6c43c15666e57dfd3636a1adf6c83 Mon Sep 17 00:00:00 2001 From: Jeff Colombo Date: Wed, 13 Feb 2019 19:58:56 -0500 Subject: [PATCH] move form below type --- src/ts/app/components/PokemonExplorer/PokemonExplorer.tsx | 6 +++--- .../components/PokemonExplorer/styles/PokemonExplorer.scss | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ts/app/components/PokemonExplorer/PokemonExplorer.tsx b/src/ts/app/components/PokemonExplorer/PokemonExplorer.tsx index 7d62444..6f4861b 100644 --- a/src/ts/app/components/PokemonExplorer/PokemonExplorer.tsx +++ b/src/ts/app/components/PokemonExplorer/PokemonExplorer.tsx @@ -274,13 +274,13 @@ export class PokemonExplorer extends React.Component

No.{ dex }

- { leaguePokemon.form !== POGOProtos.Enums.Form.FORM_UNSET && -
{ formatForm(leaguePokemon.form) } Form
- }
{ type1 } { type2 }
+ { leaguePokemon.form !== POGOProtos.Enums.Form.FORM_UNSET && +
{ formatForm(leaguePokemon.form) } Form
+ }

{ leaguePokemon.name }

diff --git a/src/ts/app/components/PokemonExplorer/styles/PokemonExplorer.scss b/src/ts/app/components/PokemonExplorer/styles/PokemonExplorer.scss index c1e72f1..125cbf1 100644 --- a/src/ts/app/components/PokemonExplorer/styles/PokemonExplorer.scss +++ b/src/ts/app/components/PokemonExplorer/styles/PokemonExplorer.scss @@ -68,7 +68,7 @@ margin-top: 0.5rem; font-size: 0.7em; flex-basis: 50%; - margin-bottom: 14px; // reset to default nes.css value + margin-bottom: 11px; // default nes.css value is 14px } // override the default nes.css default, which uses #fff @@ -97,6 +97,7 @@ .formHeader { text-transform: uppercase; + margin-bottom: 0; } .pokemonBaseStats {