Skip to content

Commit c99ccea

Browse files
committed
Fixed: Fix the issue of the logo covering the text
1 parent 1f5369c commit c99ccea

1 file changed

Lines changed: 20 additions & 18 deletions

File tree

src/app/elements/nav/nav.component.scss

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,29 @@
1111
}
1212

1313
.logo-item {
14-
height: 29px;
14+
height: 30px;
1515
width: 60px;
16+
padding: 0 8px;
17+
box-sizing: border-box;
18+
display: flex;
19+
align-items: center;
20+
justify-content: center;
1621

1722
a {
18-
padding: 0 14px;
23+
display: flex;
24+
align-items: center;
25+
height: 100%;
26+
padding: 0;
27+
}
28+
29+
img {
30+
display: block;
31+
max-height: 100%;
32+
max-width: 100%;
33+
height: 100%;
34+
width: auto;
35+
object-fit: contain;
36+
object-position: left center;
1937
}
2038
}
2139

@@ -82,19 +100,3 @@
82100
}
83101
}
84102

85-
//
86-
//.flag {
87-
// display: none;
88-
// color: var(--primary-color);
89-
// padding-right: 5px;
90-
//
91-
//}
92-
//
93-
//.active .flag {
94-
// display: inline;
95-
//}
96-
//
97-
//.elements-organization {
98-
// flex: 1;
99-
// text-align: right;
100-
//}

0 commit comments

Comments
 (0)