Skip to content

Commit fe5ad10

Browse files
committed
fix header logo css
1 parent 44cb399 commit fe5ad10

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/assets/styles/header.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@
2424
height: 3rem;
2525
}
2626

27-
span {
27+
p {
2828
font-size: 1.5rem;
2929
font-weight: 600;
30+
margin-inline-start: 1rem;
3031
color: var(--primary);
3132

32-
& em {
33+
& span {
3334
color: #6d8c3d;
3435
}
3536
}
@@ -39,10 +40,6 @@
3940
display: flex;
4041
align-items: center;
4142
text-decoration: none;
42-
43-
& span {
44-
margin-inline: 1rem;
45-
}
4643
}
4744

4845
.title {

src/layouts/common/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import logoImage from "/public/assets/images/48x48.png";
99
<div class="header__brand">
1010
<a href="/" class="logo__link">
1111
<Picture src={logoImage} formats={["png", "webp"]} alt="abcdkbd logo" class="logo" />
12-
<span title={APP_NAME}>abcd<em>kbd</em></span>
12+
<p title={APP_NAME}>abcd<span class="kbd">kbd</span></p>
1313
</a>
1414
</div>
1515
<div class="title text__balance">Happy Learning Spot</div>

0 commit comments

Comments
 (0)