Skip to content

Commit

Permalink
Merge pull request #286 from MyDataTaiwan/fix-buttomUI
Browse files Browse the repository at this point in the history
fix btn i18n 跑版
  • Loading branch information
shc261392 authored Sep 2, 2020
2 parents edf2d01 + be4f874 commit 2b3d605
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 6 deletions.
35 changes: 35 additions & 0 deletions android/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
applicationId "tw.mydata.mylog14"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 29
versionCode 30
versionName "0.13.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 30;
CURRENT_PROJECT_VERSION = 31;
DEVELOPMENT_TEAM = 42JPXVRNT4;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
Expand All @@ -382,7 +382,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 30;
CURRENT_PROJECT_VERSION = 31;
DEVELOPMENT_TEAM = 42JPXVRNT4;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
Expand Down
11 changes: 10 additions & 1 deletion src/app/shared/components/popover/popover.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ ion-content {
margin-top: 50vh;
padding: 10px;
}

ion-button{
width: 100%;
--padding-end : 0;
--padding-start : 0;
height: 95px;
margin: 0;
white-space: normal;
word-break: break-all !important;
word-wrap: break-word !important;
}
ion-grid {
width: 100%;
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/app/shared/components/reward/reward.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
<ion-label class="world" color="secondary" *ngIf="daysRecorded$ | async as daysRecorded">
{{ 'description.logMoreDaysForReward' | translate: { days: 7 - daysRecorded } }}</ion-label>
</ion-item>
<app-ion-center-item *ngIf="initReward === 'available'" button (click)="getInitialReward()">
<app-ion-center-item class="world" *ngIf="initReward === 'available'" button (click)="getInitialReward()">
<ion-button fill="outline">{{ 'description.clickToGetInitialBalance' | translate: { point: 20 } }}
</ion-button>
</app-ion-center-item>
<ion-item *ngIf="initReward === 'done'" class="ion-text-center">
<ion-icon name="checkmark-outline" color="success" slot="start"></ion-icon>
<ion-icon class="world" name="checkmark-outline" color="success" slot="start"></ion-icon>
<ion-label color="success">{{ 'description.alreadyGotInitialBalance' | translate: { point: 20 } }}
</ion-label>
</ion-item>
Expand Down
10 changes: 10 additions & 0 deletions src/app/shared/components/reward/reward.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@
white-space: normal;
word-break: break-all !important;
word-wrap: break-word !important;
}
ion-button{
width: 100%;
--padding-end : 0;
--padding-start : 0;
height: 95px;
margin: 0;
white-space: normal;
word-break: break-all !important;
word-wrap: break-word !important;
}

0 comments on commit 2b3d605

Please sign in to comment.