fix: remove unwanted margin
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
placeholder="{{placeholder()}}"
|
||||
type="{{type()}}"
|
||||
>
|
||||
<div class="errors-container">
|
||||
<div>
|
||||
@for(error of errorsDictionary()|keyvalue; track error.key) {
|
||||
@if(control.hasError(error.key) && isDirty){
|
||||
<p class="error-text">• {{error.value}}</p>
|
||||
|
||||
@@ -21,11 +21,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.errors-container {
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
|
||||
.error-text {
|
||||
&:first-of-type {
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
margin: 0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user