Skip to content

Commit 0073328

Browse files
authored
Merge pull request #6665 from Rajesh-Nagarajan-11/fix/recognition-title-overflow
[Handbook] Fix title overflow on Community handbook
2 parents c2349e5 + 4623e81 commit 0073328

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/sections/Community/Handbook/Handbook.style.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,22 @@ export const HandbookWrapper = styled.div`
8585
}
8686
8787
.page-header-section {
88-
height: 10rem;
88+
display: flex;
89+
align-items: center;
90+
justify-content: center;
8991
text-align: center;
9092
background: rgb(71,126,150);
9193
background: linear-gradient(250deg, rgba(71,126,150,1) 0%, rgba(0,179,159,1) 35%, rgba(60,73,79,1) 100%);
94+
padding: 3rem 0;
9295
h1 {
93-
line-height: 10rem;
9496
color: white;
9597
}
98+
@media (max-width: 680px) {
99+
padding: 2rem 0;
100+
h1 {
101+
font-size: 1.75rem;
102+
}
103+
}
96104
}
97105
98106
.community-home-subtitle {

0 commit comments

Comments
 (0)