Skip to content

Commit bd10548

Browse files
authored
Merge pull request #57 from GetStream/chat-header-hamburger-fix
refactor: Adjust style of .str-chat__header-hamburger icon to target svg
2 parents 9cb5f36 + 325f8dc commit bd10548

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

src/styles/ChannelHeader.scss

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -263,27 +263,20 @@
263263
.str-chat__header-hamburger {
264264
width: 30px;
265265
height: 38px;
266-
padding: var(--xs-p) var(--xs-p) var(--xs-p) 0;
266+
padding: var(--xxs-p);
267267
margin-right: var(--xs-m);
268268
display: none;
269-
flex-direction: column;
270-
justify-content: space-around;
269+
align-items: center;
270+
justify-content: center;
271271
cursor: pointer;
272272

273273
&:hover {
274-
.str-chat__header-hamburger--line {
275-
background: var(--primary-color);
274+
svg path {
275+
fill: var(--primary-color);
276276
}
277277
}
278278

279279
@media screen and (max-width: 960px) {
280280
display: flex;
281281
}
282282
}
283-
284-
.str-chat__header-hamburger--line {
285-
width: 100%;
286-
height: 2px;
287-
background: var(--primary-color);
288-
border-radius: var(--border-radius-sm);
289-
}

0 commit comments

Comments
 (0)