Skip to content

Commit 3c700d4

Browse files
guguclaude
andcommitted
feat(frontend): right-align number, money and ID widgets in row list
Numeric values are conventionally right-aligned in data tables for easier scanning and comparison of figures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9a3e9e3 commit 3c700d4

3 files changed

Lines changed: 29 additions & 10 deletions

File tree

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
:host {
2+
text-align: right;
3+
}
4+
15
.field-display-id {
2-
display: flex;
3-
align-items: center;
6+
display: flex;
7+
align-items: center;
8+
justify-content: flex-end;
49
}
510

611
.field-value-id {
7-
font-weight: 500;
8-
flex-grow: 1;
12+
font-weight: 500;
13+
flex-grow: 1;
914
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
:host {
2+
text-align: right;
3+
}
14

5+
.field-display {
6+
justify-content: flex-end;
7+
}
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
:host {
2+
text-align: right;
3+
}
4+
5+
.field-display {
6+
justify-content: flex-end;
7+
}
8+
19
.out-of-threshold {
2-
display: flex;
3-
align-items: center;
4-
gap: 2px;
10+
display: flex;
11+
align-items: center;
12+
gap: 2px;
513
}
614

715
.out-of-threshold__icon {
8-
font-size: 16px;
9-
width: 16px;
10-
height: 16px;
16+
font-size: 16px;
17+
width: 16px;
18+
height: 16px;
1119
}

0 commit comments

Comments
 (0)