aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-25 14:11:27 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-25 14:11:27 +0200
commitd9d76c97bd76ddd503739d94f88eb15905bb4f3b (patch)
treebc5fdb152063a6a526182e1d23bd25c20fd5bafd /src
parentc4c85daf3eedbbfb6d9cf615b1a7d96fe26d8112 (diff)
downloadDevHive-Angular-d9d76c97bd76ddd503739d94f88eb15905bb4f3b.tar
DevHive-Angular-d9d76c97bd76ddd503739d94f88eb15905bb4f3b.tar.gz
DevHive-Angular-d9d76c97bd76ddd503739d94f88eb15905bb4f3b.zip
Reverted mark elements to divs, because mark has a style already
Diffstat (limited to 'src')
-rw-r--r--src/app/components/feed/feed.component.html4
-rw-r--r--src/app/components/login/login.component.html4
-rw-r--r--src/app/components/register/register.component.html20
3 files changed, 14 insertions, 14 deletions
diff --git a/src/app/components/feed/feed.component.html b/src/app/components/feed/feed.component.html
index 74657dc..230c27b 100644
--- a/src/app/components/feed/feed.component.html
+++ b/src/app/components/feed/feed.component.html
@@ -36,10 +36,10 @@
<img id="top-bar-open-chat" src="assets/images/feed/chat-pic.png" alt=""/>
</nav>
<section id="posts" class="scroll-standalone" (scroll)="onScroll($event)">
- <mark id="no-posts-msg" *ngIf="posts.length === 0">
+ <div id="no-posts-msg" *ngIf="posts.length === 0">
None of your friends have posted anything yet!<br>
Try refreshing your page!
- </mark>
+ </div>
<div *ngFor="let friendPost of posts" class="post">
<app-post [paramId]="friendPost.postId.toString()"></app-post>
</div>
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html
index b641fcb..9f74faa 100644
--- a/src/app/components/login/login.component.html
+++ b/src/app/components/login/login.component.html
@@ -8,9 +8,9 @@
<input type="text" placeholder="Username" class="input-field" formControlName="username" required>
<label class="input-field-label">Username</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="loginUserFormGroup.get('username')?.errors?.required" class="error">*Required</label>
- </mark>
+ </div>
</section>
<section class="input-selection">
diff --git a/src/app/components/register/register.component.html b/src/app/components/register/register.component.html
index df6f6c9..0075b1d 100644
--- a/src/app/components/register/register.component.html
+++ b/src/app/components/register/register.component.html
@@ -10,51 +10,51 @@
<input type="text" placeholder="Goshko, is that u?" class="input-field" formControlName="firstName" required>
<label class="input-field-label">First Name</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="registerUserFormGroup.get('firstName')?.errors?.required" class="error">*Required</label>
<label *ngIf="registerUserFormGroup.get('firstName')?.errors?.minlength" class="error">*Minimum 3 characters</label>
- </mark>
+ </div>
</section>
<section class="input-selection">
<input type="text" placeholder="Trapov? Really??" class="input-field" formControlName="lastName" required>
<label class="input-field-label">Last Name</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="registerUserFormGroup.get('lastName')?.errors?.required" class="error">*Required</label>
<label *ngIf="registerUserFormGroup.get('lastName')?.errors?.minlength" class="error">*Minimum 3 characters</label>
- </mark>
+ </div>
</section>
<section class="input-selection">
<input type="text" placeholder="Think of something cool to flex on other kids" class="input-field" formControlName="username" required>
<label class="input-field-label">Username</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="registerUserFormGroup.get('username')?.errors?.required" class="error">*Required</label>
<label *ngIf="registerUserFormGroup.get('username')?.errors?.minlength" class="error">*Minimum 3 characters</label>
- </mark>
+ </div>
</section>
<section class="input-selection">
<input type="text" placeholder="You expect an email joke? I have none, mail me one" class="input-field" formControlName="email" required>
<label class="input-field-label">Email</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="registerUserFormGroup.get('email')?.errors?.required" class="error">*Required</label>
<label *ngIf="registerUserFormGroup.get('email')?.errors?.email" class="error">*Invalid email</label>
- </mark>
+ </div>
</section>
<section class="input-selection">
<input type="password" placeholder="Make sure it's long & strong (just like my d***)" class="input-field" formControlName="password" required>
<label class="input-field-label">Password</label>
- <mark class="input-errors">
+ <div class="input-errors">
<label *ngIf="registerUserFormGroup.get('password')?.errors?.required" class="error">*Required</label>
<label *ngIf="registerUserFormGroup.get('password')?.errors?.minlength" class="error">*Minimum 3 characters</label>
<label *ngIf="registerUserFormGroup.get('password')?.errors?.pattern" class="error">*At least 1 number</label>
- </mark>
+ </div>
</section>
<hr>