Skip to content

Commit c2fdfc1

Browse files
committed
45060 | Fix . Code refactoring and ressolving review coments
1 parent 2fc1e72 commit c2fdfc1

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

apps/registration/src/components/Header/styles/index.module.scss

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@use "@carbon/react/scss/breakpoint" as *;
66

77
.customHeader {
8-
background-color: #007d79;
8+
background-color: #007D79;
99
height: $spacing-09;
1010
display: flex;
1111
align-items: center;
@@ -45,47 +45,45 @@
4545
display: flex;
4646
align-items: center;
4747

48-
a,
49-
button,
50-
span {
48+
a, button, span {
5149
color: $text-on-color;
5250
@include type-style("body-compact-01");
5351
text-decoration: none;
5452
background: none;
5553
border: none;
5654
padding: 0;
5755
cursor: pointer;
58-
56+
5957
&:hover {
6058
text-decoration: underline;
6159
}
62-
60+
6361
&:focus {
6462
outline: 2px solid $focus;
6563
outline-offset: $spacing-01;
6664
}
6765
}
6866
}
69-
67+
7068
// Current page styling (last item)
7169
:global(.cds--breadcrumb-item--current) {
7270
span {
7371
font-weight: 600;
7472
cursor: default;
75-
73+
7674
&:hover {
7775
text-decoration: none;
7876
}
7977
}
8078
}
81-
79+
8280
// Separator styling (the "/" between items)
8381
:global(.cds--breadcrumb-item::after) {
8482
color: $text-on-color;
8583
content: "/";
8684
margin: 0 $spacing-02;
8785
}
88-
86+
8987
// Remove separator after last item
9088
:global(.cds--breadcrumb-item:last-child::after) {
9189
display: none;
@@ -125,11 +123,11 @@
125123
.headerContent {
126124
padding: 0 $spacing-03;
127125
}
128-
126+
129127
.rightActions {
130128
gap: $spacing-03;
131129
}
132-
130+
133131
.actionButton {
134132
@include type-style("label-01");
135133
}
@@ -139,8 +137,8 @@
139137
.profileText {
140138
display: none;
141139
}
142-
140+
143141
.rightActions {
144142
gap: $spacing-02;
145143
}
146-
}
144+
}

0 commit comments

Comments
 (0)