Skip to content

Commit

Permalink
Temaoversikt Fiks margin
Browse files Browse the repository at this point in the history
  • Loading branch information
beeccy committed Dec 12, 2023
1 parent d73f325 commit 7634bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/src/components/common/TeamName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const TeamName = (props: { id: string; link?: boolean; big?: boolean }) =
}

export const Teams = (props: { teams: string[]; link?: boolean; list?: boolean; big?: boolean }) => (
<div className="flex flex-wrap gap-2 items-center mb-2.5">
<div className="flex flex-wrap gap-2 items-center">
<BodyShort size="small">Team:</BodyShort>
{props.teams.map((t, idx) => (
<TeamName key={`team_${idx}`} id={t} link={props.link} big={props.big} />
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/pages/DokumentasjonPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const DokumentasjonPage = () => {
)}
</div>
)}
{teams.length > 0 ? <Teams teams={teams} link /> : <BodyShort size="small">Team er ikke angitt</BodyShort>}
<div className="mb-2.5">{teams.length > 0 ? <Teams teams={teams} link /> : <BodyShort size="small">Team er ikke angitt</BodyShort>}</div>
<div className="flex items-center gap-2">
<BodyShort size="small">Egenskaper:</BodyShort>
{irrelevansFor.length === options.length && (
Expand Down

0 comments on commit 7634bf3

Please sign in to comment.