Skip to content

Commit 97eacda

Browse files
FO-2772: Justering på styling
1 parent ad7aa25 commit 97eacda

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

src/components/user-table/body/user-table-body.less

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,20 @@
1313

1414
.user-table-row {
1515
display: grid;
16-
grid-template-columns: repeat(3, 2fr) 3fr repeat(3, 2fr) 1fr 200px;
16+
grid-template-columns: 2.5fr repeat(2, 2fr) 3fr repeat(3, 2fr) 1fr 200px;
1717
justify-items: start;
18-
padding: 1.3rem 0 1.7rem 0;
19-
20-
& > {
21-
padding-left: 7px;
22-
}
18+
padding: 1.25rem 0 1.75rem 7px;
2319

2420
text-align: center;
2521

2622
align-items: end;
2723

28-
&__status {
24+
.status {
2925
display: grid;
3026
grid-template-columns: 2rem auto;
3127
align-items: end;
3228
.status_ikon {
33-
max-width: 1.6rem;
29+
max-width: 26px;
3430
}
3531

3632
}

src/components/user-table/body/user-table-row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const UtkastStatusData = (props: { status: UtkastStatus }) => {
5050
break;
5151
}
5252
return (
53-
<span className={'user-table-row__status'}>
53+
<span className={'status'}>
5454
<img className={'status_ikon'} src={statusIkon} alt={'status ikon'} />
5555
<Normaltekst>{mapBrukerStatusTilTekst(props.status)}</Normaltekst>
5656
</span>);

src/components/user-table/header/user-table-header.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.user-table-header {
44
display: grid;
5-
grid-template-columns: repeat(3, 2fr) 3fr repeat(3, 2fr) 1fr 200px;
5+
grid-template-columns: 2.5fr repeat(2, 2fr) 3fr repeat(3, 2fr) 1fr 200px;
66
justify-items: start;
77
padding-bottom: 1rem;
88
border-bottom: 1px solid @navGra60;

0 commit comments

Comments
 (0)