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
----------------------------------------------------------------
## 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
......
{
"name": "mc_frontend",
"version": "1.3.6",
"version": "1.3.7",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
......
......@@ -19,23 +19,23 @@
<ion-grid>
<ion-row>
<ion-col>
<ion-button
(click)="HelperService.goToTextRangePage(navCtrl)">{{ "CHANGE_TEXT_RANGE" | translate}}</ion-button>
<ion-button (click)="HelperService.goToTextRangePage(navCtrl)">
{{ "CHANGE_TEXT_RANGE" | translate}}
</ion-button>
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<button class="button-icon-only share-link" (click)="toggleShareLink()">
<ion-icon name="share"></ion-icon>
<ion-label>{{ "SHARE" | translate}}</ion-label>
<button class="button-icon-only" (click)="toggleShareLink()">
<ion-icon slot="start" name="share"></ion-icon>
<span>{{ "SHARE" | translate}}</span>
</button>
</ion-col>
</ion-row>
<ion-row *ngIf="shareLink">
<ion-col>
<label class="share-link">
<textarea id="shareLink" (focus)="selectLink()"
[(ngModel)]="shareLink"></textarea>
<textarea id="shareLink" (focus)="selectLink()" [(ngModel)]="shareLink"></textarea>
<button class="button-copy-link" (click)="copyLink()">
<ion-icon name="copy"></ion-icon>
</button>
......
......@@ -11,9 +11,6 @@ h5 {
display: inline-block;
}
ion-label {
vertical-align: super;
}
ol {
text-align: left;
......@@ -37,6 +34,7 @@ textarea {
-moz-transform: scale(1.5); /* FF */
-webkit-transform: scale(1.5); /* Safari and Chrome */
-o-transform: scale(1.5); /* Opera */
display: flex;
}
.first {
......@@ -47,6 +45,6 @@ textarea {
float: left;
}
#shareLink{
#shareLink {
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