Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop fix header #2086

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions component-overview/examples/header/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import classNames from 'classnames';
const expandMoreIcon =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00ODAtMzczLjUzOXEtNy4yMzEgMC0xMy40NjEtMi4zMDgtNi4yMzEtMi4zMDgtMTEuODQ2LTcuOTIzTDI3NC45MjQtNTYzLjUzOXEtOC4zMDgtOC4zMDctOC41LTIwLjg4NC0uMTkzLTEyLjU3NyA4LjUtMjEuMjY5IDguNjkyLTguNjkyIDIxLjA3Ni04LjY5MnQyMS4wNzYgOC42OTJMNDgwLTQ0Mi43NjhsMTYyLjkyNC0xNjIuOTI0cTguMzA3LTguMzA3IDIwLjg4NC04LjUgMTIuNTc2LS4xOTIgMjEuMjY4IDguNSA4LjY5MyA4LjY5MiA4LjY5MyAyMS4wNzcgMCAxMi4zODQtOC42OTMgMjEuMDc2TDUwNS4zMDctMzgzLjc3cS01LjYxNSA1LjYxNS0xMS44NDYgNy45MjMtNi4yMyAyLjMwOC0xMy40NjEgMi4zMDhaIi8+PC9zdmc+';

const personIcon =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZ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jN2MzAuNTM4Wk00ODAtNTM4LjMwN3EzNy40NjEgMCA2Mi4zODQtMjQuOTI0IDI0LjkyMy0yNC45MjMgMjQuOTIzLTYyLjM4NHQtMjQuOTIzLTYyLjM4NFE1MTcuNDYxLTcxMi45MjIgNDgwLTcxMi45MjJ0LTYyLjM4NCAyNC45MjNxLTI0LjkyMyAyNC45MjMtMjQuOTIzIDYyLjM4NHQyNC45MjMgNjIuMzg0cTI0LjkyMyAyNC45MjQgNjIuMzg0IDI0LjkyNFptMC04Ny4zMDhabTAgMzkyLjUzN1oiLz48L3N2Zz4=';

return (
<div>
<header className="ffe-header">
Expand Down Expand Up @@ -90,16 +93,15 @@ import classNames from 'classnames';
</span>
</span>
<div className="ffe-header__svg-icon ffe-header__user-icon">
<span
className="ffe-symbol ffe-symbol--400 ffe-symbol--xl ffe-header__svg-icon ffe-header__user-icon"
role="graphics-symbol img"
<Icon
fileUrl={personIcon}
aria-label="bruker"
>
person
</span>
<span className="ffe-header__notification-bubble">
size="xl"
/>

<div className="ffe-header__notification-bubble">
5
</span>
</div>
</div>
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/ffe-header/less/ffe-header.less
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
&__user-icon,
&__user-chevron-icon,
&__site-nav-icon {
fill: var(--ffe-v-primary-color);
color: var(--ffe-v-primary-color);
}

&__user-icon,
Expand Down
Loading