move form below type
This commit is contained in:
parent
a3c5e2a25a
commit
aaaec295a2
@ -274,13 +274,13 @@ export class PokemonExplorer extends React.Component<IPokemonExplorerProps, ISta
|
||||
<div className={ styles.pokemonInfoLeftColumn }>
|
||||
<i className={ pokemonIconCss } />
|
||||
<h4 className={ styles.dexHeader }>No.{ dex }</h4>
|
||||
{ leaguePokemon.form !== POGOProtos.Enums.Form.FORM_UNSET &&
|
||||
<h6 className={ styles.formHeader }>{ formatForm(leaguePokemon.form) } Form</h6>
|
||||
}
|
||||
<div className={ styles.pokemonTypeWrapper }>
|
||||
{ type1 }
|
||||
{ type2 }
|
||||
</div>
|
||||
{ leaguePokemon.form !== POGOProtos.Enums.Form.FORM_UNSET &&
|
||||
<h6 className={ styles.formHeader }>{ formatForm(leaguePokemon.form) } Form</h6>
|
||||
}
|
||||
</div>
|
||||
<div className={ styles.pokemonInfoRightColumn }>
|
||||
<h2 className={ styles.pokemonName }>{ leaguePokemon.name }</h2>
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user