Skip to content

Commit 13cf7a1

Browse files
committed
fix: transfer option alignment styles
1 parent 9b419ed commit 13cf7a1

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

src/components/DataDimension/styles/TransferOption.style.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default css`
88
.item {
99
display: flex;
1010
justify-content: space-between;
11-
align-items: center;
11+
align-items: flex-start;
1212
background: ${colors.white};
1313
font-size: 14px;
1414
line-height: 16px;
@@ -31,14 +31,14 @@ export default css`
3131
3232
.labelGroup {
3333
display: inline-flex;
34-
margin: 6px 4px;
34+
margin: 5px 4px;
3535
}
3636
3737
.typeGroup {
3838
display: inline-flex;
3939
margin: 0;
4040
align-self: stretch;
41-
align-items: center;
41+
align-items: flex-start;
4242
}
4343
4444
.nowrap {
@@ -47,7 +47,8 @@ export default css`
4747
4848
.icon,
4949
.label {
50-
line-height: 18px;
50+
line-height: 16px;
51+
margin: 2px 0;
5152
}
5253
5354
.icon {
@@ -68,6 +69,7 @@ export default css`
6869
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo,
6970
Consolas, 'DejaVu Sans Mono', monospace;
7071
font-weight: normal;
72+
margin: 9px 0 0 0;
7173
}
7274
7375
.edit,
@@ -92,11 +94,11 @@ export default css`
9294
}
9395
9496
.info {
95-
margin: 0 0 0 ${spacers.dp4};
96-
padding: 0 6px;
97-
height: 100%;
97+
margin: 0 0 0 2px;
98+
padding: ${spacers.dp8} ${spacers.dp4} 0 ${spacers.dp4};};
99+
align-self: stretch;
98100
display: flex;
99-
align-items: center;
101+
align-items: flex-start;
100102
cursor: pointer;
101103
color: ${colors.grey600};
102104
}

0 commit comments

Comments
 (0)