Commit 1b7df747 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

bug fix: another attempt at displaying the share button for exercises in preview

parent b81c4fb9
...@@ -21,7 +21,7 @@ If you already ran `npm install` and the CLI still complains about missing depen ...@@ -21,7 +21,7 @@ If you already ran `npm install` and the CLI still complains about missing depen
---------------------------------------------------------------- ----------------------------------------------------------------
## Production Build ## Production Build
To build the application for production environments, use: `ionic cordova build browser --prod --release --max-old-space-size=4096` and serve the content of the `www/` folder, e.g. with Nginx. To build the application for production environments, use: `ionic cordova build browser --prod --release --max-old-space-size=4096` and serve the content of the `platforms/browser/www` folder, e.g. with Nginx.
---------------------------------------------------------------- ----------------------------------------------------------------
# Development # Development
......
{ {
"name": "mc_frontend", "name": "mc_frontend",
"version": "1.3.6", "version": "1.3.7",
"author": "Ionic Framework", "author": "Ionic Framework",
"homepage": "https://ionicframework.com/", "homepage": "https://ionicframework.com/",
"scripts": { "scripts": {
......
...@@ -19,23 +19,23 @@ ...@@ -19,23 +19,23 @@
<ion-grid> <ion-grid>
<ion-row> <ion-row>
<ion-col> <ion-col>
<ion-button <ion-button (click)="HelperService.goToTextRangePage(navCtrl)">
(click)="HelperService.goToTextRangePage(navCtrl)">{{ "CHANGE_TEXT_RANGE" | translate}}</ion-button> {{ "CHANGE_TEXT_RANGE" | translate}}
</ion-button>
</ion-col> </ion-col>
</ion-row> </ion-row>
<ion-row> <ion-row>
<ion-col> <ion-col>
<button class="button-icon-only share-link" (click)="toggleShareLink()"> <button class="button-icon-only" (click)="toggleShareLink()">
<ion-icon name="share"></ion-icon> <ion-icon slot="start" name="share"></ion-icon>
<ion-label>{{ "SHARE" | translate}}</ion-label> <span>{{ "SHARE" | translate}}</span>
</button> </button>
</ion-col> </ion-col>
</ion-row> </ion-row>
<ion-row *ngIf="shareLink"> <ion-row *ngIf="shareLink">
<ion-col> <ion-col>
<label class="share-link"> <label class="share-link">
<textarea id="shareLink" (focus)="selectLink()" <textarea id="shareLink" (focus)="selectLink()" [(ngModel)]="shareLink"></textarea>
[(ngModel)]="shareLink"></textarea>
<button class="button-copy-link" (click)="copyLink()"> <button class="button-copy-link" (click)="copyLink()">
<ion-icon name="copy"></ion-icon> <ion-icon name="copy"></ion-icon>
</button> </button>
......
...@@ -11,9 +11,6 @@ h5 { ...@@ -11,9 +11,6 @@ h5 {
display: inline-block; display: inline-block;
} }
ion-label {
vertical-align: super;
}
ol { ol {
text-align: left; text-align: left;
...@@ -37,6 +34,7 @@ textarea { ...@@ -37,6 +34,7 @@ textarea {
-moz-transform: scale(1.5); /* FF */ -moz-transform: scale(1.5); /* FF */
-webkit-transform: scale(1.5); /* Safari and Chrome */ -webkit-transform: scale(1.5); /* Safari and Chrome */
-o-transform: scale(1.5); /* Opera */ -o-transform: scale(1.5); /* Opera */
display: flex;
} }
.first { .first {
...@@ -47,6 +45,6 @@ textarea { ...@@ -47,6 +45,6 @@ textarea {
float: left; float: left;
} }
#shareLink{ #shareLink {
margin-right: 10px; margin-right: 10px;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment