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