This commit is contained in:
Claudio Maggioni 2017-05-26 19:07:52 +02:00
parent 405b24df9e
commit cca5c51a61
2 changed files with 8 additions and 2 deletions

View file

@ -40,7 +40,8 @@
text-align: center;
vertical-align: middle;
width: calc((70vw / {{.larghezza}}) - 3px);
height: calc(((100vh - 8em) / {{.altezza}}) - 8px);
min-height: calc(((100vw - 4em) / {{.altezza}}) - 8px);
height: 3em;
}
.cibo {
background: #FFFF33;

View file

@ -13,7 +13,12 @@
{{ else }}
class="razza2"
{{ end }}
{{ end }}>{{ $cella.Evoluzione }} <br> {{ $cella.Health }}</td>
{{ end }}>
{{ if $cella.IsFood }}
{{ $cella.Health }}
{{ else }}
{{ $cella.Evoluzione }} - {{ $cella.Health }}
{{ end }}</td>
{{ end }}
{{ end }}
</tr>