Commit f150da1b authored by Emily Jensen's avatar Emily Jensen

For no good reason, this bug had to be fixed differently for different icons

parent 2dcbef10
Pipeline #65224329 passed with stage
in 11 minutes and 34 seconds
......@@ -75,10 +75,9 @@ ActionBar,
}
.dice {
background-color: transparent;
border-color: transparent;
border-width: 1;
margin-top: -16;
background-color: white;
border-color: white;
border-width: 0;
padding: 0;
}
......@@ -94,6 +93,9 @@ ActionBar,
.icons {
margin-top: -10;
border-radius: 0;
background-color: white;
}
.detailInput {
......
......@@ -18,12 +18,12 @@
[ngrxFormControlState]="form.controls.url"
class="detailInput urlInput"
></TextField>
<Button
<Label
width="40"
*ngIf="!isNew && form.value.url"
(tap)="goToUrl()"
class="url-button"
></Button>
></Label>
</StackLayout>
<Label text="Username"></Label>
......@@ -37,14 +37,14 @@
[class.userInputNew]="isNew"
[class.tabletUserInput]="isTablet"
[class.userInput]="!isNew && !isTablet"
class="detailInput"
class="detailInput urlInput"
></TextField>
<Button
<Label
*ngIf="!isNew"
width="40"
(tap)="copyUsername()"
class="{{ usernameCopied ? 'copied-button' : 'copy-button' }} icons"
></Button>
class="icons {{ usernameCopied ? 'copied-button' : 'copy-button' }}"
></Label>
</StackLayout>
<Label text="Password"></Label>
......@@ -100,7 +100,7 @@
></Button>
</FlexboxLayout>
<Button *ngIf="isNew" (tap)="generatePassword.emit()" class="dice">
<Span style="font-size:38px;" text="&#x2682;"></Span>
<Span style="font-size:20;" text="&#x2682;"></Span>
</Button>
</StackLayout>
......@@ -121,7 +121,6 @@
height="100"
class="input input-border m-b-10"
></TextView>
<Label text="Saved!" class="saved-confirm" *ngIf="isUpdated"></Label>
<Button class="submit-button" [text]="'save'" (tap)="onSubmit()"></Button>
......
......@@ -42,9 +42,9 @@ import {
.button-text {
background-color: #ffffff;
border-width: 1;
border-color: transparent;
border-color: #ffffff;
z-index: 0;
color: #0092a8;
padding: 0;
}
`
],
......
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