Skip to content

Commit a53932d

Browse files
author
Juan Gabriel Guzman
committed
refactor: #204 Refactoring styles
1 parent 3bc0ae3 commit a53932d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class="input-group-prepend">
2-
<span class="input-group-text span-width" id="inputGroup-sizing-sm">{{text}}</span>
2+
<span class="input-group-text input-label" id="inputGroup-sizing-sm">{{text}}</span>
33
</div>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@import '../../../../../styles/colors.scss';
2+
3+
.input-label {
4+
width: 6rem;
5+
background-color: $primary;
6+
color: white;
7+
}

src/app/modules/shared/components/input-label/input-label.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {Component, Input} from '@angular/core';
33
@Component({
44
selector: 'app-input-label',
55
templateUrl: './input-label.component.html',
6+
styleUrls: ['./input-label.component.scss']
67
})
78
export class InputLabelComponent {
89
@Input()

0 commit comments

Comments
 (0)