Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Midtstiller spinner for innholdslaster
Browse files Browse the repository at this point in the history
  • Loading branch information
robertkittilsen committed Oct 20, 2023
1 parent a6ca11e commit b6cbfe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/komponenter/innholdslaster/innholdslaster.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
margin-right: auto;
}
.innholdslasterLaster {
width: max-content;
width: 100%;
max-width: 37rem;
margin: 0 auto;
margin-top: 1.25rem;
}
Expand Down
6 changes: 4 additions & 2 deletions src/komponenter/innholdslaster/innholdslaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ class Innholdslaster extends React.Component<InnholdslasterProps, Innholdslaster
{erStandard ? (
<StandardSkeletons />
) : (
<div className={`${flex.flex} ${flex.center} ${styles.innholdslasterLaster}`}>
<Loader transparent size="2xlarge" />
<div className={`${flex.flex} ${flex.center}`}>
<div className={styles.innholdslasterLaster}>
<Loader transparent size="2xlarge" />
</div>
</div>
)}
</>
Expand Down

0 comments on commit b6cbfe2

Please sign in to comment.