1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-23 21:03:14 +00:00
This commit is contained in:
devfake 2015-07-04 15:25:19 +02:00
commit 883c045695
2 changed files with 9 additions and 6 deletions

View File

@ -167,7 +167,7 @@ let SideView = Backbone.View.extend({
$field.find(".field-close").html(html)
$field.find(".large-field-counter").html(score)
if(horn){
this.$fields.find(".field-horn-close").html(this.template(horn));
this.$fields.find(".field-horn-close").html(this.templateCards([horn]));
}
let isInfluencedByWeather;
@ -196,7 +196,7 @@ let SideView = Backbone.View.extend({
$field.find(".field-range").html(html)
$field.find(".large-field-counter").html(score)
if(horn){
this.$fields.find(".field-horn-range").html(this.template(horn));
this.$fields.find(".field-horn-range").html(this.templateCards([horn]));
}
let isInfluencedByWeather;
@ -225,7 +225,7 @@ let SideView = Backbone.View.extend({
$field.find(".field-siege").html(html)
$field.find(".large-field-counter").html(score)
if(horn){
this.$fields.find(".field-horn-siege").html(this.template(horn));
this.$fields.find(".field-horn-siege").html(this.templateCards([horn]));
}
let isInfluencedByWeather;
@ -438,7 +438,7 @@ let BattleView = Backbone.View.extend({
if(this.handCards){
this.calculateMargin(this.$el.find(".field-hand"));
this.calculateMargin(this.$el.find(".handcard-wrap"));
}
if(this.user.get("isReDrawing")){

View File

@ -7,12 +7,14 @@
$height: 600px;
$game-height: 800px;
.container {
min-width: 960px;
min-width: 970px;
width: 970px important;
background: rgba(5,5,5,0.25);
padding: 20px;
margin-bottom: 150px;
}
.board {
height: $game-height;
//border: 1px solid black;
@ -39,6 +41,7 @@ $game-height: 800px;
//width: 100%;
height: 100px;
border: 1px solid black;
/*margin-bottom: 15px;*/
/*
overflow: hidden;