This commit is contained in:
Giorgio Croci 2017-05-26 19:17:24 +02:00
commit 7559babaa9
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 }} <br> {{ $cella.Age }}/{{ $cella.AgeMax }}</td>
{{ end }}>
{{ if $cella.IsFood }}
{{ $cella.Health }}
{{ else }}
{{ $cella.Evoluzione }} - {{ $cella.Health }} <br> {{ $cella.Age }}/{{ $cella.AgeMax }}
{{ end }}</td>
{{ end }}
{{ end }}
</tr>