Skip to content

Commit

Permalink
Virksomhetsnavn fra h2 til bodyshort
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelegu committed Dec 12, 2023
1 parent ae5a3ce commit 546d89e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navikt/bedriftsmeny",
"version": "6.12.1",
"version": "6.12.2",
"description": "Bedriftsvelger og -meny for innlogget arbeidsgiver. Laget av TAG (Tjenester for Arbeidsgivere).",
"author": "NAVIKT",
"license": "MIT",
Expand Down
4 changes: 4 additions & 0 deletions src/bedriftsmeny/velger/Virksomhetsvelger.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
align-items: center;
gap: 8px;
}
.navbm-virksomhetsvelger__virksomhetsnavn {
font-size: 1.25rem;
font-weight: var(--a-font-weight-bold);
}

@media (max-width: 520px) {
.navbm-virksomhetsvelger__innhold {
Expand Down
4 changes: 2 additions & 2 deletions src/bedriftsmeny/velger/Virksomhetsvelger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ const Velger = ({friKomponent} : {friKomponent: boolean} ) => {
<Office1 aria-hidden={true}/>
</div>
<div className="navbm-virksomhetsvelger__tekst">
<Heading size="small" level="2">
<BodyShort className="navbm-virksomhetsvelger__virksomhetsnavn">
{valgtOrganisasjon.Name}
</Heading>
</BodyShort>
<BodyShort>virksomhetsnr. {valgtOrganisasjon.OrganizationNumber}</BodyShort>
</div>
{åpen ? <Collapse style={{pointerEvents:"none"}} aria-hidden={true}/> : <Expand style={{pointerEvents:"none"}} aria-hidden={true}/>}
Expand Down

0 comments on commit 546d89e

Please sign in to comment.