Skip to content

Commit

Permalink
Reduce the number of column in the waves on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Paranoiaque committed Apr 28, 2024
1 parent 7a544e1 commit 2f3d9ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@
* Fix alliance members display on mobile
* Fix bugs when pausing or returning
* Improve the popup to signal messages
* Reduce the number of column in the waves on mobile
12 changes: 6 additions & 6 deletions src/app/strategies/strategies.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
: 0)
) {
<div
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
role="button"
id="{{ army.code }}-0-{{
user.getPropertyNb(army.code) -
Expand Down Expand Up @@ -129,7 +129,7 @@ <h3>{{ 'Wave { value }' | translate: { value: i } }}</h3>
id="{{ army.code }}-{{ i }}-{{
getWaveUnit(wave, army.code)
}}"
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
cdkDrag>
<div class="mt-auto m-1-xs m-4-md text-center">
<app-ew-icon
Expand Down Expand Up @@ -334,7 +334,7 @@ <h3>{{ 'Wave { value }' | translate: { value: 1 } }}</h3>
: 0)
) {
<div
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
role="button"
id="{{ army.code }}-0-{{
user.getPropertyNb(army.code) -
Expand Down Expand Up @@ -382,7 +382,7 @@ <h3>{{ 'Wave { value }' | translate: { value: 1 } }}</h3>
: 0)
) {
<div
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
role="button"
id="{{ building.code }}-0-{{
user.getPropertyNb(building.code) -
Expand Down Expand Up @@ -439,7 +439,7 @@ <h3>{{ 'Wave { value }' | translate: { value: i } }}</h3>
id="{{ army.code }}-{{ i }}-{{
getWaveUnit(wave, army.code)
}}"
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
cdkDrag>
<div class="mt-auto m-1-xs m-4-md text-center">
<app-ew-icon
Expand Down Expand Up @@ -516,7 +516,7 @@ <h3>{{ 'Wave { value }' | translate: { value: i } }}</h3>
id="{{ building.code }}-{{ i }}-{{
getWaveUnit(wave, building.code)
}}"
class="col-3 col-md-2 d-flex flex-column align-self-start"
class="col-4 col-sm-3 col-md-2 d-flex flex-column align-self-start"
cdkDrag>
<div class="mt-auto m-1-xs m-4-md text-center">
<app-ew-icon
Expand Down

0 comments on commit 2f3d9ef

Please sign in to comment.