Skip to content

Commit f379b4a

Browse files
committed
Layoutjusteringer
1 parent cdf087a commit f379b4a

File tree

5 files changed

+8
-17
lines changed

5 files changed

+8
-17
lines changed

apps/dine-pleiepenger/src/components/process/process.css

+5-3
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@
3131
border-color: var(--a-deepblue-800);
3232
}
3333
.process__item__variant--CURRENT {
34-
background-color: var(--a-deepblue-100);
34+
background-color: var(--a-deepblue-50);
3535
z-index: 2;
3636
position: relative;
3737
opacity: 1;
38+
padding-bottom: 0.75rem;
39+
margin-top: 0.75rem;
3840
}
3941
.process__item__variant--WARNING {
4042
background-color: var(--a-orange-100);
@@ -68,7 +70,7 @@
6870
border-style: solid;
6971
display: block;
7072
opacity: 1;
71-
margin-top: -1rem;
73+
margin-top: -0.5rem;
7274
min-height: 1.5rem;
7375
}
7476
process__line--1--continuation {
@@ -98,7 +100,7 @@ process__line--1--continuation {
98100
justify-content: flex-start;
99101
text-decoration: none;
100102
padding: var(--process-border-width);
101-
margin: calc(var(--process-border-width) * -1) calc(var(--process-border-width) * -1) 1.25rem;
103+
margin: calc(var(--process-border-width) * -1) calc(var(--process-border-width) * -1) 1rem;
102104
}
103105

104106
.process__circle {

apps/dine-pleiepenger/src/components/saksbehandlingstid/Saksbehandlingstid.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ const getFristTekst = (frist: Date, venteårsak?: Venteårsak): React.ReactNode
2626
id="svarfrist.generellFrist"
2727
values={{
2828
frist: dateFormatter.full(frist),
29-
dato: (chunk) => (
30-
<div>
31-
<strong>{chunk}</strong>
32-
</div>
33-
),
29+
dato: (chunk) => <strong>{chunk}</strong>,
3430
}}
3531
/>
3632
);

apps/dine-pleiepenger/src/components/status-i-sak/StatusISak.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const StatusISak: React.FunctionComponent<Props> = ({ sak, visAlleHendelser, tit
4646
</Switch>
4747
</Box>
4848
) : null}
49-
<Box padding="4" className="bg-white pb-0">
49+
<Box className="bg-white p-6 pb-0">
5050
<Process>
5151
{visibleSteps.map((step, idx) => {
5252
const headingId = `process-heading-${idx}`;

apps/dine-pleiepenger/src/components/venteårsak-melding/VenteårsakMelding.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const VenteårsakMelding: React.FunctionComponent<Props> = ({ venteårsak }) =>
1616
return (
1717
<>
1818
<Alert variant="warning">
19-
<Heading level="2" size="medium" className="text-gray-900">
19+
<Heading level="2" size="small" className="text-gray-900">
2020
<Msg id="venteårsakMelding.legeerklæring.tittel" />
2121
</Heading>
2222
<BodyLong className="mb-2 mt-2">

apps/dine-pleiepenger/src/style/global.css

-7
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,3 @@
2121
.navds-alert .navds-heading {
2222
color: var(--a-gray-900);
2323
}
24-
25-
.process__item--current .navds-link {
26-
color: var(--a-gray-900);
27-
}
28-
.process__item--current .navds-link:focus-visible {
29-
color: white;
30-
}

0 commit comments

Comments
 (0)